diff options
author | Geir Storli <geirst@verizonmedia.com> | 2021-06-11 15:21:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 15:21:41 +0200 |
commit | f89b56dddff0ba7a621f07c22516103d6359e4c1 (patch) | |
tree | 78f01fff7ae9465c4521079b49c40ab6a2a70b51 /storage/src | |
parent | be538470922774c5fb0d2dc931abc876f0de428f (diff) | |
parent | e2632b50e7aa9e96e9c67fb7c30e5856ab0328fd (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/src')
-rw-r--r-- | storage/src/vespa/storage/distributor/distributor.cpp | 1 |
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: |