nickva opened a new pull request, #5833:
URL: https://github.com/apache/couchdb/pull/5833
In the previous PR [1] we added special handling for shards dbs since it has
a custom ring replication topology. In PR [1] we considered only the checkpoint
for pushes from the current node to the "next" none in the ring. However, we
should also consider the checkpoints created by the "previous" node when it
pull purges from current node, so that what we fix in this PR.
As a reminder, a replication job from node A to node B will:
1) pull purges from B to A (checkpoint on B with a B->A purge checkpoint
doc)
2) push purges from A to B (checkpoint on A with a A->B purge checkpoint
doc)
3) push do updates from A to B (checkpoint on A with A->B sync checkpoint
doc, and
on B also with an A->B sync checkpoint doc)
[1] https://github.com/apache/couchdb/pull/5832
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]