-
Notifications
You must be signed in to change notification settings - Fork 948
ARTEMIS-5852 Leader/Follower pattern on acceptors #6191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
3e76798 to
940e9c4
Compare
...ain/java/org/apache/activemq/artemis/lockmanager/etcd/EtcdDistributedLockManagerFactory.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/apache/activemq/artemis/lockmanager/file/FileBasedLockManagerFactory.java
Outdated
Show resolved
Hide resolved
.../org/apache/activemq/artemis/lockmanager/zookeeper/CuratorDistributedLockManagerFactory.java
Outdated
Show resolved
Hide resolved
3367529 to
8372c9c
Compare
|
I just split this into 2 commits. they are still in the same PR as the etcd still depending on the first commit. |
521369c to
cc8ee7d
Compare
|
@gtully it should work with broker properties, but I don't have a test yet... |
|
jdbc can be done.. but it would be a future task.. I wouldn't hold this for now. |
f5024bb to
48ea524
Compare
92763c4 to
36313f5
Compare
3bc3d5a to
06a760d
Compare
|
@gtully I have fixed the usage of broker properties, and simplified this quite a lot. I intended to write documentation today but I got stuck on removing etcd and the needed cleanup after removing it. |
31c7fab to
8a83588
Compare
I'm adding a LeaderManager to the broker, that will use DistributedLock to determine the node that will be the lead. You can associate the leaderManager with acceptors and an acceptor serving only clients would then be activated in only one of the brokers.
I'm adding a LeaderManager to the broker, that will use DistributedLock to determine the node that will be the lead.
You can associate the leaderManager with acceptors and an acceptor serving only clients would then be activated in only one of the brokers.