Skip to content
Snippets Groups Projects
Commit 3940cba2 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Konstantin Osipov
Browse files

vinyl: do not check index/range version when optimizing upserts

We abort upsert optimization if a range is dumped or compacted, even if
it is not the range the key being squashed belongs to. This is needless,
because the worst thing that can happen if we proceed to inserting the
resulting statement is that there will be one more REPLACE in the index
for the same key. That said, let's remove index/range version checking
from there.
parent 729db268
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment