Skip to content
Snippets Groups Projects
Commit 8c53942e authored by Ilya Kosarev's avatar Ilya Kosarev Committed by Kirill Yukhin
Browse files

memtx: fix tuples references on concurrent replaces

Since 527b02a2 (memtx: add yields
during index build) memtx_build_on_replace was introduced to handle
concurrent updates. The problem here was that the tuples being handled
with this trigger did not get reference counter promotion, leading to a
number of wrong behavior cases. Now this problem is solved.
This problem was found through primary index altering with updates in
background fiber. Corresponding test is introduced.

Closes #4973
parent 5115d9f3
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