memtx: remove redundant `space` field from `struct memtx_story`
`struct memtx_story` has a `space` field, which is basically used to identify that a tuple is unlinked from the history chain in `memtx_tx_index_invisible_count_slow` (though this can be determined by its presence in the index) and is used to get the space's index in `memtx_tx_story_link_top` (though it can be retrieved from the older story's link field): remove this redundant field. Needed for #7343 NO_CHANGELOG=<refactoring> NO_DOC=<refactoring> NO_TEST=<refactoring> (cherry picked from commit 55e64a8d)
Showing
- src/box/memtx_tx.c 7 additions, 13 deletionssrc/box/memtx_tx.c
- src/box/memtx_tx.h 0 additions, 4 deletionssrc/box/memtx_tx.h
- test/box-luatest/gh_6150_memtx_tx_memory_monitoring_test.lua 1 addition, 1 deletiontest/box-luatest/gh_6150_memtx_tx_memory_monitoring_test.lua
- test/box/tx_man.result 54 additions, 1 deletiontest/box/tx_man.result
- test/box/tx_man.test.lua 17 additions, 1 deletiontest/box/tx_man.test.lua
Loading
Please register or sign in to comment