summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2021-06-11 15:21:41 +0200
committerGitHub <noreply@github.com>2021-06-11 15:21:41 +0200
commitf89b56dddff0ba7a621f07c22516103d6359e4c1 (patch)
tree78f01fff7ae9465c4521079b49c40ab6a2a70b51 /storage
parentbe538470922774c5fb0d2dc931abc876f0de428f (diff)
parente2632b50e7aa9e96e9c67fb7c30e5856ab0328fd (diff)
Merge pull request #18218 from vespa-engine/geirst/getnodestate-command-in-distributor-main-thread
Handle GetNodeStateCommand in distributor main thread when running in…
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/distributor/distributor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/src/vespa/storage/distributor/distributor.cpp b/storage/src/vespa/storage/distributor/distributor.cpp
index 6d911e56651..77ab288b5d7 100644
--- a/storage/src/vespa/storage/distributor/distributor.cpp
+++ b/storage/src/vespa/storage/distributor/distributor.cpp
@@ -322,6 +322,7 @@ namespace {
bool should_be_handled_by_top_level_bucket_db_updater(const api::StorageMessage& msg) noexcept {
switch (msg.getType().getId()) {
case api::MessageType::SETSYSTEMSTATE_ID:
+ case api::MessageType::GETNODESTATE_ID:
case api::MessageType::ACTIVATE_CLUSTER_STATE_VERSION_ID:
return true;
case api::MessageType::REQUESTBUCKETINFO_REPLY_ID: