memtx: skip excluded tuples in index count with MVCC enabled
Excluded tuples actually have their own history chains in MVCC - such chains consist of only one `memtx_story` containing excluded tuple itself. Such chains should be skipped when counting invisible tuples because they are not inserted to the index - that's what the commit does. Closes #10396 NO_DOC=bugfix (cherry picked from commit 8947cb04f59423e2944d48b8a1effec2fb11b1db)
Showing
- changelogs/unreleased/gh-10396-memtx-mvcc-exclude-null-count.md 5 additions, 0 deletions...logs/unreleased/gh-10396-memtx-mvcc-exclude-null-count.md
- src/box/memtx_tx.c 11 additions, 0 deletionssrc/box/memtx_tx.c
- test/box-luatest/gh_9954_mvcc_with_exclude_null_test.lua 50 additions, 0 deletionstest/box-luatest/gh_9954_mvcc_with_exclude_null_test.lua
Loading
Please register or sign in to comment