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
compact: include expected size in MissizedDeleteCallback
Fix one of the instances where we report a missized DELSIZED tombstone but did
not include the expected tombstone size. If a DELSIZED tombstone with a
non-zero value meets another tombstone during a compaction, it indicates the
more recent DELSIZED was missized--it deleted a key that did not exist (and was
already deleted). Previously when invoking a callback to report this missizing,
the compaction iterator passed expectedSize=0. This was misleading because the
DELSIZED explicitly carried a non-zero size which allowed to us to determine
there was a missizing in the first place.
This commit adapts the compaction iterator to decode the DELSIZED's value in
this case and propagate it into the missized delete callback.
0 commit comments