memtx: move delayed tuples deletion from small allocator to memtx
Delayed free mode in small allocator is only used to free up tuple memory, during snapshot creation. This is not directly related to the small allocator itself, so moved this code to tarantool in memtx_engine.c, where tuples memory allocation/deallocation occurs.
Showing
- src/box/memtx_engine.c 65 additions, 10 deletionssrc/box/memtx_engine.c
- src/box/memtx_engine.h 18 additions, 0 deletionssrc/box/memtx_engine.h
- src/lib/small 1 addition, 1 deletionsrc/lib/small
- test/box/moved_delayed_free_mode.result 84 additions, 0 deletionstest/box/moved_delayed_free_mode.result
- test/box/moved_delayed_free_mode.test.lua 49 additions, 0 deletionstest/box/moved_delayed_free_mode.test.lua
Loading
Please register or sign in to comment