txm: fix space len and count calculation
When MVCC engine is enabled, an index can contain temporary non-committed tuples that are not visible outside their transaction. That's why internal index size can be greater than visible by standalone observer. In order to fix space:count and index:count etc we have to use special adjustment from MVCC engine. Fixes #5972
Showing
- src/box/memtx_bitset.c 6 additions, 2 deletionssrc/box/memtx_bitset.c
- src/box/memtx_hash.c 5 additions, 1 deletionsrc/box/memtx_hash.c
- src/box/memtx_rtree.c 6 additions, 1 deletionsrc/box/memtx_rtree.c
- src/box/memtx_tree.cc 5 additions, 1 deletionsrc/box/memtx_tree.cc
- src/box/memtx_tx.c 34 additions, 0 deletionssrc/box/memtx_tx.c
- src/box/memtx_tx.h 21 additions, 0 deletionssrc/box/memtx_tx.h
- test/box/tx_man.result 275 additions, 0 deletionstest/box/tx_man.result
- test/box/tx_man.test.lua 110 additions, 0 deletionstest/box/tx_man.test.lua
Loading
Please register or sign in to comment