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

vinyl: allocate records for metadata log dynamically

Currently, we use a fixed size buffer, which can accommodate up to 64
records. With the single memory level it can easily overflow, as we
create a slice for each range on dump in a single transaction, i.e. if
there are > 64 ranges in an index, we may get a panic. So this patch
makes vylog use a list of dynamically allocated records instead of a
static array.
parent 63ceb698
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