You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "nickva (via GitHub)" <gi...@apache.org> on 2025/12/23 06:51:27 UTC
[PR] Fix handling shards dbs purge checkpoints in mem3_rep [couchdb]
nickva opened a new pull request, #5832:
URL: https://github.com/apache/couchdb/pull/5832
Previous PR [1] failed to account for shards db itself. Shards db (`_dbs`) is managed differently than regular shard copies. Its `mem3:shards(Dbs)` result is a single element shard list with a `#shard{}` having `node = node()` and `range = [0, ff..]`. They are replicated in a ring across all nodes, we expect to find a purge checkpoint pushing changes to the "next" node in a ring only.
[1] https://github.com/apache/couchdb/pull/5827
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix handling shards dbs purge checkpoints in mem3_rep [couchdb]
Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva merged PR #5832:
URL: 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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Fix handling shards dbs purge checkpoints in mem3_rep [couchdb]
Posted by "nickva (via GitHub)" <gi...@apache.org>.
nickva commented on PR #5832:
URL: https://github.com/apache/couchdb/pull/5832#issuecomment-3688883593
There is continuation PR after this which also considered a previous purge checkpoint for when the previous node in the ring replicates to us. When it pulls purges from "us", it also create its own checkpoint going from current node to the previous node.
I added the pervious node consideration in a new PR https://github.com/apache/couchdb/pull/5833
--
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: notifications-unsubscribe@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org