You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kv: remove ShouldWinOriginTimestampTie option from cmd cput
The current KV writer does not use ShouldWinOriginTimestampTie, so it
can be removed as unused code. The KV LDR writer stopped using this
approach for tie-breaking due to two issues:
1. When replaying replicated writes, they win LWW against themselves,
leading to duplicate KVs. This is inefficient, slowing performance
and wasting storage until garbage collection (GC) removes the
duplicates.
2. The approach fails to handle semantics correctly in three-way
replication scenarios.
Release note: none
Epic: CRDB-48647
0 commit comments