Skip to content

Conversation

@nickva
Copy link
Contributor

@nickva nickva commented Dec 24, 2025

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] #5832

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] #5832
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant