aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2024-02-03 19:18:50 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2024-02-03 19:39:10 +0000
commit3b590870d88f329c9219759d46924571ce3db66d (patch)
tree392c5bc7ed64999a4e4be421a332103083731982 /storage/src/vespa
parent359bc341f0a85993a231c16f0e7b8c508ea55dc8 (diff)
GC unused distributor_auto_ownership_transfer_on_whole_group_down
Diffstat (limited to 'storage/src/vespa')
-rw-r--r--storage/src/vespa/storage/common/global_bucket_space_distribution_converter.cpp1
-rw-r--r--storage/src/vespa/storage/distributor/pending_bucket_space_db_transition.cpp3
2 files changed, 0 insertions, 4 deletions
diff --git a/storage/src/vespa/storage/common/global_bucket_space_distribution_converter.cpp b/storage/src/vespa/storage/common/global_bucket_space_distribution_converter.cpp
index f34c1f2d92a..1d632c14cd5 100644
--- a/storage/src/vespa/storage/common/global_bucket_space_distribution_converter.cpp
+++ b/storage/src/vespa/storage/common/global_bucket_space_distribution_converter.cpp
@@ -22,7 +22,6 @@ struct Group {
};
void set_distribution_invariant_config_fields(DistributionConfigBuilder& builder) {
- builder.distributorAutoOwnershipTransferOnWholeGroupDown = true;
builder.activePerLeafGroup = true;
// TODO consider how to best support n-of-m replication for global docs
builder.ensurePrimaryPersisted = true;
diff --git a/storage/src/vespa/storage/distributor/pending_bucket_space_db_transition.cpp b/storage/src/vespa/storage/distributor/pending_bucket_space_db_transition.cpp
index aac16f8b618..19d66f629c5 100644
--- a/storage/src/vespa/storage/distributor/pending_bucket_space_db_transition.cpp
+++ b/storage/src/vespa/storage/distributor/pending_bucket_space_db_transition.cpp
@@ -303,9 +303,6 @@ PendingBucketSpaceDbTransition::nodeNeedsOwnershipTransferFromGroupDown(
const lib::ClusterState& state) const
{
const auto &dist(_bucket_space_state.get_distribution());
- if (!dist.distributorAutoOwnershipTransferOnWholeGroupDown()) {
- return false; // Not doing anything for downed groups.
- }
const lib::Group* group(dist.getNodeGraph().getGroupForNode(nodeIndex));
// If there is no group information associated with the node (because the
// group has changed or the node has been removed from config), we must