Skip to content
Snippets Groups Projects
Commit 4dbd4644 authored by Aleksandr Lyapunov's avatar Aleksandr Lyapunov Committed by Nikita Pettik
Browse files

txm: switch to normal mode earlier durion recovery with MVCC

Usually during final recovery, when .xlog files are loaded and
applied, a special memtx_space_replace_primary_key function is
used for faster recovery. The function only updates primary key
while all other indexes are scheduled to build at the end of
recovery.

This approach doesn't work with MVCC engine and synchro spaces:
When transactions appear in xlog and they may or may not be
committed, we should process the in normal mode throught all
indexes in order to leave transaction history in each index.

Fixes #5610
Fixes #5973
parent 57ab8c2e
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