memtx: replace conflict trackers with read trackers
Conflict trackers are used to store information that if some transaction is committed then some another transaction must be aborted. This happens when the first transaction writes some key while the other reads the same key. On the other hand there are another trackers - read trackers - that are designed to handle exactly the same situation. That's why conflict trackers can be simply replaced with read trackers. That would allow to remove conflict trackers as not needed anymore. Part of #8648 Part of #8654 NO_DOC=refactoring NO_TEST=refactoring NO_CHANGELOG=refactoring
Showing
- src/box/memtx_tx.c 15 additions, 113 deletionssrc/box/memtx_tx.c
- src/box/memtx_tx.h 4 additions, 2 deletionssrc/box/memtx_tx.h
- src/box/txn.c 0 additions, 4 deletionssrc/box/txn.c
- src/box/txn.h 0 additions, 12 deletionssrc/box/txn.h
- test/box-luatest/gh_6150_memtx_tx_memory_monitoring_test.lua 1 addition, 2 deletionstest/box-luatest/gh_6150_memtx_tx_memory_monitoring_test.lua
Loading