aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2023-10-02 13:25:31 +0000
committerTor Brede Vekterli <vekterli@yahooinc.com>2023-10-02 13:33:16 +0000
commita59c7fd546554325c2622be3ad7f6de7e9db466b (patch)
treeb793c690ffce29e41e8159587bebc6e1febd17e1
parent5706d89036798a37025409a70dfdded8c6545a9a (diff)
Remove unused code branch in Bouncer component
For a long time now, content nodes have transitioned directly from Down to Up on startup, and they will never pass through an Initializing state (remnant from spinning rust days).
-rw-r--r--storage/src/vespa/storage/storageserver/bouncer.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/storage/src/vespa/storage/storageserver/bouncer.cpp b/storage/src/vespa/storage/storageserver/bouncer.cpp
index cfe283edb9b..39c4a388ece 100644
--- a/storage/src/vespa/storage/storageserver/bouncer.cpp
+++ b/storage/src/vespa/storage/storageserver/bouncer.cpp
@@ -276,14 +276,6 @@ Bouncer::onDown(const std::shared_ptr<api::StorageMessage>& msg)
isInAvailableState = state->oneOf(_config->stopAllLoadWhenNodestateNotIn.c_str());
feedPriorityLowerBound = _config->feedRejectionPriorityThreshold;
}
- // Special case for messages storage nodes are expected to get during
- // initializing. Request bucket info will be queued so storage can
- // answer them at the moment they are done initializing
- if (*state == lib::State::INITIALIZING &&
- type.getId() == api::MessageType::REQUESTBUCKETINFO_ID)
- {
- return false;
- }
// Special case for point lookup Gets while node is in maintenance mode
// to allow reads to complete during two-phase cluster state transitions
if ((*state == lib::State::MAINTENANCE) && (type.getId() == api::MessageType::GET_ID) && clusterIsUp(*cluster_state)) {