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
145096: storage: always write RANGEKEYDELs in ClearRangeWithHeuristic r=sumeerbhola a=jbowens
Previously, ClearRangeWithHeuristic applied a heuristic that would switch between writing RANGEKEYUNSETs versus RANGEKEYDELs. When multiple range keys overlap, unsetting each individual range key with RANGEKEYUNSET is strictly worse than writing a single RANGEKEYDEL over the same span.
This commit adapts ClearRangeWithHeuristic to write a single RANGEKEYDEL over the cleared span, but only if there are indeed range keys within the span. Setting a broad RANGEKEYDEL increases the likelihood that data can be removed using a delete-only compaction.
Close#144954.
Epic: none
Release note: none
146098: logical: set origin id in tombstone updater r=jeffswenson a=jeffswenson
Previously, the tombstone updater did not set an origin id when updating a tombstone. One critical use of the origin id is its used to filter LDR replication events. Events with an origin id are not replicated because replicating a replication write causes an infinite replication loop.
Fixes: #146008
Release note: none
Co-authored-by: Jackson Owens <[email protected]>
Co-authored-by: Jeff Swenson <[email protected]>
0 commit comments