summaryrefslogtreecommitdiffstats
path: root/src/mon/ElectionLogic.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* mon/ElectionLogic: tie-breaker ignore proposal from marked down monKamoltat2024-06-261-0/+12
* mon: make paxos_size() unsignedKefu Chai2022-07-161-1/+1
* mon/Elector: make paxos_size() an intKamoltat2022-06-281-1/+1
* mon: build without "using namespace std"Kefu Chai2021-08-131-1/+2
* mon: elector: use unique_ptr on [stable|leader]peer_tracker, fix a leakGreg Farnum2020-07-081-4/+7
* mon: elector: add some flexibility when dropping out-of-quorum propose messagesGreg Farnum2020-07-081-0/+3
* mon: make the election strategy configurable at setup and runtimeGreg Farnum2020-07-081-2/+3
* mon: elector: reset election when we encounter score disagreementsGreg Farnum2020-07-081-0/+8
* mon: elector: spread current election scores in election messagesGreg Farnum2020-07-081-3/+9
* elector: maintain a stable score set while running an electionGreg Farnum2020-07-081-0/+12
* elector: ignore election proposals from out-of-quorum spammersGreg Farnum2020-07-081-2/+9
* elector: Write a helper to combine scores with disallowed lists; use itGreg Farnum2020-07-081-0/+5
* elector: move initial propose handling into the different strategy handlersGreg Farnum2020-07-081-3/+9
* test: elector: make macros to run test scenarios against each ElectionStrategyGreg Farnum2020-07-081-2/+2
* elector: track the previous election winner for use in testingGreg Farnum2020-07-081-2/+7
* elector: Set up infrastructure for having multiple election strategiesGreg Farnum2020-07-081-8/+48
* elector: support disallowing specific monitor ranks from becoming leadersGreg Farnum2020-07-081-0/+10
* mon: elector: Build a ConnectionTracker and new MMonPing to heartbeat peersGreg Farnum2020-07-081-4/+8
* test: add new ElectionLogic unit test frameworkGreg Farnum2019-08-191-0/+1
* elector: const-ify a bunch of functionsGreg Farnum2019-08-191-9/+8
* elector: swap order of parameters in ElectionLogic::receive_proposeGreg Farnum2019-08-191-1/+1
* elector: Update Elector and ElectionLogic function documentationGreg Farnum2019-08-191-1/+279
* elector: make some more ElectionLogic members privateGreg Farnum2019-08-191-5/+7
* elector: split ElectionLogic into its own compilation unitGreg Farnum2019-08-191-0/+69