diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-08-09 18:33:24 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-08-10 09:08:09 +0000 |
commit | 9544288f4a808ab10d67e937a7b01dfda0c4abba (patch) | |
tree | 5590d807f7363cbd5a0006dcc537ec11f77a8a0f | |
parent | aa9cfaf526fa4cd0859dfaf47e50d5e02268161b (diff) |
No need to check something that will always be false.
-rw-r--r-- | storage/src/vespa/storage/distributor/distributor_bucket_space.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/distributor/distributor_bucket_space.cpp b/storage/src/vespa/storage/distributor/distributor_bucket_space.cpp index 5ccdb214854..713133667c4 100644 --- a/storage/src/vespa/storage/distributor/distributor_bucket_space.cpp +++ b/storage/src/vespa/storage/distributor/distributor_bucket_space.cpp @@ -152,7 +152,7 @@ DistributorBucketSpace::get_ideal_service_layer_nodes_bundle(document::BucketId setup_ideal_nodes_bundle(ideal_nodes_bundle, *_distribution, *_clusterState, bucket); return ideal_nodes_bundle; } - document::BucketId lookup_bucket(is_split_group_bucket(bucket) ? bucket.getUsedBits() : _distribution_bits, bucket.getId()); + document::BucketId lookup_bucket(_distribution_bits, bucket.getId()); auto itr = _ideal_nodes.find(lookup_bucket); if (itr != _ideal_nodes.end()) { return *itr->second; |