Skip to content
Snippets Groups Projects
Commit 6fefbb0b authored by Mergen Imeev's avatar Mergen Imeev Committed by Vladimir Davydov
Browse files

box: cleanup region after box.snapshot()

Before this patch region wasn't truncated after box.snapshot() so some
tests failed due to "memory leak". To fix that, let's truncate region in
vinyl and use malloc() in memtx (we can't cleanup region there as
objects allocated when checkpoint is started are used until checkpoint
is completed). The latter isn't a big deal, because box.snapshot() isn't
a hot path and we do other allocations with malloc() anyway.

Closes #3732
parent 8a09adb4
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