Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
6.6.0, 6.6.1, 6.6.2, 6.6.3, 6.6.4, 6.6.5, 6.6.6, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.0.5, 7.1.0, 7.1.1, 7.1.2, 7.2.0, 7.1.3
-
0
Description
Since XDCR introduced CAS-based conflict resolution, it has always been an opt-in, as during bucket creation the default option is to select Rev-ID seqno based conflict resolution (Most Write Wins).
This ticket is a request to change the default of new bucket creation to use CAS-based CR for two reasons:
- Better intuitive understanding of conflict resolution behavior
- Preventing friction for future XDCR replication once serverless is introduced.
1.
Rev-ID based CR is easier to deploy as it doesn't require NTP, but it causes many headaches over the years (via support tickets, or needing repeated explanations), as it is less intuitive to understand when things don't replicate. Often times, this is due to documents being deleted on the target cluster, which turn them into tombstones with a higher revID than the original source document.
I don't have the numbers here, but anecdotally (from history) the majority of the CBSEs being investigated for XDCR document mismatch are using RevID based CR.
2.
https://couchbasecloud.atlassian.net/browse/AV-43778 is a ticket describing that new buckets will now be using LWW by default on serverless. It would be good to also do the same on the server side (for the new buckets being created), to align with the future strategy. More specifically, we want to be able to support XDCR replication to serverless in the future. And, if on-prem deployment is not also defaulting to LWW, it could lead to friction for migration to serverless, and vice versa (i.e. offloading from serverless to on-prem).
Attachments
Issue Links
- blocks
-
MB-55892 UI should not default conflict resolution type on "Add bucket" dialog
- Open
- relates to
-
MB-56052 When installing Couchbase server, there should be a reminder that all servers should implement NTP
- Open
-
MB-55758 [XDCR] Safeguard against CAS poisoning
- Resolved
-
MB-62383 [BP 7.6.3] - [XDCR] Safeguard against CAS poisoning
- Resolved
-
MB-62384 [BP 7.2.6] - [XDCR] Safeguard against CAS poisoning
- Closed
- links to