diff options
author | Tor Brede Vekterli <vekterli@verizonmedia.com> | 2019-05-14 15:15:11 +0000 |
---|---|---|
committer | Tor Brede Vekterli <vekterli@verizonmedia.com> | 2019-05-14 15:15:11 +0000 |
commit | 99487b06f0d9d4761947c1e1f49b2618a4ce2f4e (patch) | |
tree | 7a3aef14d60a3a4322bc54cf624b5af8e3abe687 /storage/src/tests/distributor/bucket_db_prune_elision_test.cpp | |
parent | a732a80addac50740cb253877d6e74d322dabc82 (diff) |
Disable bucket DB pruning elision optimization for now
There may be a currently unknown edge case where some valid edges do not
trigger pruning as they should, so disable optimization entirely until
we know for sure.
Diffstat (limited to 'storage/src/tests/distributor/bucket_db_prune_elision_test.cpp')
-rw-r--r-- | storage/src/tests/distributor/bucket_db_prune_elision_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/src/tests/distributor/bucket_db_prune_elision_test.cpp b/storage/src/tests/distributor/bucket_db_prune_elision_test.cpp index 4821d05a90c..c4f7aa3fd8d 100644 --- a/storage/src/tests/distributor/bucket_db_prune_elision_test.cpp +++ b/storage/src/tests/distributor/bucket_db_prune_elision_test.cpp @@ -83,6 +83,9 @@ TEST(IdempotentStateTransitionTest, changed_storage_node_state_disallows_elision EXPECT_FALSE(db_pruning_may_be_elided(state_of("distributor:3 storage:3 .0.s:d"), state_of("distributor:3 storage:3 .1.s:d"))); + + EXPECT_FALSE(db_pruning_may_be_elided(state_of("distributor:3 storage:3 .0.s:r"), + state_of("distributor:3 storage:3 .0.s:d"))); } TEST(IdempotentStateTransitionTest, may_elide_for_transition_between_different_effective_storage_down_states) { |