aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/tests/distributor/distributor_message_sender_stub.cpp
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@verizonmedia.com>2020-12-07 15:31:31 +0000
committerTor Brede Vekterli <vekterli@verizonmedia.com>2020-12-07 16:05:30 +0000
commit81853e7e81313a374dea7f2dec377f437393c47c (patch)
tree44c4362357059e5c3dce8cf37689ed61c73f338a /storage/src/tests/distributor/distributor_message_sender_stub.cpp
parentf2ececfb183ef73d6a53d74ee84798e0dc7eaf36 (diff)
Block ideal state operations towards buckets that are locked
Prevents ideal state ops from modifying buckets that are being used in a read-for-write context. Move `OperationSequencer` to main `Distributor` to more easily facilitate sharing of it across components.
Diffstat (limited to 'storage/src/tests/distributor/distributor_message_sender_stub.cpp')
-rw-r--r--storage/src/tests/distributor/distributor_message_sender_stub.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/src/tests/distributor/distributor_message_sender_stub.cpp b/storage/src/tests/distributor/distributor_message_sender_stub.cpp
index df894f1bb2c..893ebcd158a 100644
--- a/storage/src/tests/distributor/distributor_message_sender_stub.cpp
+++ b/storage/src/tests/distributor/distributor_message_sender_stub.cpp
@@ -12,7 +12,8 @@ namespace storage {
DistributorMessageSenderStub::DistributorMessageSenderStub()
: _stub_impl(),
_cluster_name("storage"),
- _pending_message_tracker(nullptr)
+ _pending_message_tracker(nullptr),
+ _operation_sequencer(nullptr)
{}
DistributorMessageSenderStub::~DistributorMessageSenderStub() = default;