memtx: fix logic of read tracker rebinding during rollback
During rollback read trackers are rebound to newer or older story, if present. The problem with the current logic is that read trackers are basically rebound in the first available index: all information about key parts read from other indexes gets lost — rebind read trackers in all indexes. Closes #7828 NO_DOC=bugfix (cherry picked from commit 559b27db)
Showing
- changelogs/unreleased/gh-7828-rollback_rebind_read_tracker_wrong_idx_mask.md 4 additions, 0 deletions...ed/gh-7828-rollback_rebind_read_tracker_wrong_idx_mask.md
- src/box/memtx_tx.c 6 additions, 3 deletionssrc/box/memtx_tx.c
- test/box-luatest/gh_7828_rollback_rebind_read_tracker_wrong_idx_mask_test.lua 89 additions, 0 deletions...7828_rollback_rebind_read_tracker_wrong_idx_mask_test.lua
Loading
Please register or sign in to comment