Skip to content
Snippets Groups Projects
Commit 2067b394 authored by Vladimir Davydov's avatar Vladimir Davydov Committed by Roman Tsisyk
Browse files

vinyl: cleanup vy_range->min_key initialization

We don't really need to init vy_range->min_key each time we insert it to
a tree, as we do now. It's enough to do it once in a range's lifetime -
when the range is created, i.e. on recovery or on split.

While we're at it, let's not panic if we fail to alloc a tuple for
min_key, but fail gracefully.
parent 7ec7dd19
No related branches found
No related tags found
Loading
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