Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBG-4417 construct missing CV entry from HLV if not present #7242

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

torcolvin
Copy link
Collaborator

Create a concept of an implicit HLV. This address a problem of replication that have Couchbase Server without Sync Gateway. If a past write contained an _vv entry, and then an update was performed on that same document, the _vv on the Couchbase Server only node is out of date - the implicit HLV needs to add the current cas@sourceID.

Previously, the code only worked if there were no pv entries.

This isn't implemented for Couchbase Lite because there's no concept of document storage, so we do not necessarily have a concept of merged local and remote pv. In order to fix this, it will involve modifying BlipTester code which I do not want to do in this PR.

@adamcfraser adamcfraser merged commit ddc841e into release/anemone Dec 13, 2024
36 checks passed
@adamcfraser adamcfraser deleted the CBG-4417 branch December 13, 2024 23:04
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.

2 participants