GitHub user enixon opened a pull request:
https://github.com/apache/zookeeper/pull/628
ZOOKEEPER-3140: Allow Followers to host Observers
Creates a new abstraction, LearnerMaster, to represent the portions of the
Leader logic that are used in LearnerHandler. Leader implements LearnerMaster
and a new class ObserverMaster implements LearnerMaster. Followers have the
option of instantiating a ObserverMaster thread when they assume their role and
so support Learner traffic.
A new parameter 'observerMasterPort' is used to control which Follower
instances host Observers.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/enixon/zookeeper learner-master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/628.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #628
----
commit 4aab7d3da7643a25e982a8a0c15dc73f62ebc5cc
Author: Brian Nixon <nixon@...>
Date: 2018-09-12T21:07:22Z
ZOOKEEPER-3140: Allow Followers to host Observers
----
---