[
https://issues.apache.org/jira/browse/ARTEMIS-2716?focusedWorklogId=605943&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-605943
]
ASF GitHub Bot logged work on ARTEMIS-2716:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 03/Jun/21 14:10
Start Date: 03/Jun/21 14:10
Worklog Time Spent: 10m
Work Description: michaelpearce-gain commented on pull request #3555:
URL: https://github.com/apache/activemq-artemis/pull/3555#issuecomment-853899869
So to avoid split brain is simple with distributed lock and ZK, only one
process can hold that lock, and to be active you must have the lock,
application with the lock should constantly be checking it still has the lock
and if not disabling itself. You should never become active unless you get the
lock, there should be no epoch about it, if you do that, you're asking for
disaster.
With ZK how many artemis nodes you have makes no longer any difference to
the avoiding split, you should be able to run just 2 artemis nodes for HA (for
ZK yes it requires 3 minimum) but those scale differently you're not scaling
those for data plane use case.
--
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 605943)
Time Spent: 9h 50m (was: 9h 40m)
> Implements pluggable Quorum Vote
> --------------------------------
>
> Key: ARTEMIS-2716
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2716
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Major
> Attachments: backup.png, primary.png
>
> Time Spent: 9h 50m
> Remaining Estimate: 0h
>
> This task aim to ideliver a new Quorum Vote mechanism for artemis with the
> objectives:
> # to make it pluggable
> # to cleanly separate the election phase and the cluster member states
> # to simplify most common setups in both amount of configuration and
> requirements (eg "witness" nodes could be implemented to support single
> master-slave pairs)
> Post-actions to help people adopt it, but need to be thought upfront:
> # a clean upgrade path for current HA replication users
> # deprecate or integrate the current HA replication into the new version
--
This message was sent by Atlassian Jira
(v8.3.4#803005)