memtx: fix memory leak during primary index background alter
Currently, if we delete tuple while primary index is altering in background, a reference to removed tuple will be kept by primary index. Closes #6290 Part of #5958
Showing
- changelogs/unreleased/gh-6290-background-alter-primary-key-memory-leak.md 3 additions, 0 deletions...eased/gh-6290-background-alter-primary-key-memory-leak.md
- src/box/memtx_space.c 9 additions, 4 deletionssrc/box/memtx_space.c
- test/box/alter-primary-index-tuple-leak-long.lua 8 additions, 0 deletionstest/box/alter-primary-index-tuple-leak-long.lua
- test/box/alter-primary-index-tuple-leak-long.result 138 additions, 0 deletionstest/box/alter-primary-index-tuple-leak-long.result
- test/box/alter-primary-index-tuple-leak-long.test.lua 69 additions, 0 deletionstest/box/alter-primary-index-tuple-leak-long.test.lua
- test/box/suite.ini 1 addition, 1 deletiontest/box/suite.ini
Loading
Please register or sign in to comment