franz1981 commented on issue #3094: URL: https://github.com/apache/activemq-artemis/pull/3094#issuecomment-616395639
@michaelandrepearce @brusdev In the current state, the only services exposed by `QuorumManager` are: - `registerQuorum`/`unRegisterQuorum`: to register/unregister a listener for `nodeDown`/`nodeUP` events issued by `ClusterController::defaultLocator`. The high-level function, looking at `SharedNothingBackupQuorumm`, isto detect a change in the live role (ie live is going down) - `isStillLive`: used by the live with `vote-on-replication-failure` to validate that is still live - `hasLive`: used by the backup (on `SharedNothingBackupQuorumm`) to check, after received a disconnection failure or a `nodeDown` event (see `registerQuorum`/`unRegisterQuorum`), if there is any live in charge. - `handleQuorumVote`: to manage `QuorumVoteMessage` packets, perform a vote and send back a response. It's tied to `ClusterController` (again) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
