32 explicit PaxosAcceptor(std::shared_ptr<PaxosContainer> container);
36 void processOKMessage(
const OKMessage &msg);
39 std::shared_ptr<PaxosContainer> container_;
42 uint32_t current_accepted_instance_ = UINT32_MAX;
43 uint32_t current_accepted_proposal_id_ = UINT32_MAX;
44 uint32_t current_accepted_station_ = UINT32_MAX;
45 uint32_t remaining_oks_ = 0;
48 struct AlreadyReceivedOKS {
49 uint32_t instance = 0;
50 uint32_t proposal_id = 0;
52 uint32_t already_received = 0;
54 std::vector<AlreadyReceivedOKS>
57 void sendResponseMessage();