Skip to content
Snippets Groups Projects
Commit d2663cc2 authored by Andrey Saranchin's avatar Andrey Saranchin Committed by Serge Petrenko
Browse files

memtx: invalidate index right on DDL in MVCC

Currently, we delete MVCC trackers from index when it's being deleted.
It doesn't actually break anything but we can do it right on DDL since
all concurrent transactions are aborted and trackers are not needed
anymore. Also, having a saved key belonging to old key def (it's saved
by gap inplace item) is not a good idea and can lead to sudden bugs
in future - let's just delete all the trackers right on DDL while we
are here.

Follow-up #10146

NO_TEST=refactoring
NO_CHANGELOG=refactoring
NO_DOC=refactoring

(cherry picked from commit 8879489834f39fdb46093c1988fbf4f1601d51ff)
parent f7f491b3
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