Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Reconfigure ring on nodeup events #28

Merged
merged 2 commits into from May 3, 2012

Conversation

Projects
None yet
2 participants
Owner

kocolosk commented May 3, 2012

We have a ring replication topology for our node-local databases. If a member of the ring (B) goes down we automatically start replicating to the next live node (C). If the down node comes back up our source node (A) will end up replicating to both nodes. We can safely stop the A -> C replication when B comes back up.

BugzID: 13529

Owner

rnewson commented May 3, 2012

lgtm but would move the db1/2/3 couch_config calls to a function, don't we do that in several places now?

Owner

kocolosk commented May 3, 2012

We do. Feel free to refactor on top if you see a clean way forward. I'm going to be afk for the next few hours.

Owner

kocolosk commented May 3, 2012

Merging, thanks for the cleanup.

@kocolosk kocolosk added a commit that referenced this pull request May 3, 2012

@kocolosk kocolosk Merge pull request #28 from cloudant/13529-reconfigure-ring-on-nodeup
Reconfigure ring on nodeup events

BugzID: 13529
f25f60e

@kocolosk kocolosk merged commit f25f60e into 1.3.x May 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment