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
pebble.Iterator treats SINGLEDEL the same as DEL, under the assumption that SINGLEDEL has been correctly used. However, if used incorrectly (e.g. SINGLEDEL layered above multiple older SETs), and before the incorrect behavior has been compacted away (either harmlessly or harmfully), user-facing iteration over the data will hide the incorrectness.
If we treat SINGLEDEL as deleting only a single SET, then the incorrectness will be visible -- this may be better in tests, and in replica divergence detection.
pebble.Iterator
treats SINGLEDEL the same as DEL, under the assumption that SINGLEDEL has been correctly used. However, if used incorrectly (e.g. SINGLEDEL layered above multiple older SETs), and before the incorrect behavior has been compacted away (either harmlessly or harmfully), user-facing iteration over the data will hide the incorrectness.If we treat SINGLEDEL as deleting only a single SET, then the incorrectness will be visible -- this may be better in tests, and in replica divergence detection.
Relates to cockroachdb/cockroach#116218 cockroachdb/cockroach#114421
@jbowens
The text was updated successfully, but these errors were encountered: