txm: implement point hole trackers
TX manager has a problem, kwown as phantom read. If a transaction reads a value by key and founds nothing, even no dirty tuples, then the read is not recorded anywhere. Implement a special storage for point reads that founds nothing, and use it in conflict resolution. Part of #5628
Showing
- src/box/memtx_hash.c 8 additions, 2 deletionssrc/box/memtx_hash.c
- src/box/memtx_tree.cc 20 additions, 7 deletionssrc/box/memtx_tree.cc
- src/box/memtx_tx.c 332 additions, 2 deletionssrc/box/memtx_tx.c
- src/box/memtx_tx.h 30 additions, 0 deletionssrc/box/memtx_tx.h
- src/box/txn.c 2 additions, 0 deletionssrc/box/txn.c
- src/box/txn.h 2 additions, 0 deletionssrc/box/txn.h
- test/box/tx_man.result 571 additions, 0 deletionstest/box/tx_man.result
- test/box/tx_man.test.lua 167 additions, 0 deletionstest/box/tx_man.test.lua
Loading
Please register or sign in to comment