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

vinyl: skip creating new mem on dump if the newest mem is empty

Before dumping a range, we create a new mem so that it would accommodate
statements to be inserted while we are writing the rest of mems (see
vy_task_dump_new()). Actually, we can skip this step in case the newest
mem is empty. Besides being reasonable, this micro-optimization will
come in handy for the patch moving vinyl metadata to memtx.
parent e11ac5f3
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