vinyl: fix accounting of secondary index cache statements
Since commit 0c5e6cc8 ("vinyl: store full tuples in secondary index cache"), we store primary index tuples in secondary index cache, but we still account them as separate tuples. Fix that. Follow-up #3478 Closes #3655
Showing
- src/box/vy_cache.c 11 additions, 2 deletionssrc/box/vy_cache.c
- src/box/vy_cache.h 4 additions, 1 deletionsrc/box/vy_cache.h
- src/box/vy_lsm.c 1 addition, 1 deletionsrc/box/vy_lsm.c
- test/unit/vy_iterators_helper.c 1 addition, 1 deletiontest/unit/vy_iterators_helper.c
- test/unit/vy_point_lookup.c 1 addition, 1 deletiontest/unit/vy_point_lookup.c
- test/vinyl/cache.result 47 additions, 0 deletionstest/vinyl/cache.result
- test/vinyl/cache.test.lua 18 additions, 0 deletionstest/vinyl/cache.test.lua
Loading
Please register or sign in to comment