Skip to content
Snippets Groups Projects
Commit 17f6af7d authored by Nikita Pettik's avatar Nikita Pettik Committed by Kirill Yukhin
Browse files

vinyl: update mem ptr in vy_build_insert_tuple() after yield

vy_build_insert_tuple() processes insertion into secondary indexes being
created. It contains yield points during which in-memory level of LSM
tree may change (for example rotate owing to triggered dump). So after
yield point it is required to fetch from LSM struct pointer to mem again
to operate on valid metadata. This patch updates pointer to mem after
mentioned yield point.

Closes #4810
parent 3c641629
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