aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/distributor/top_level_distributor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/vespa/storage/distributor/top_level_distributor.cpp')
-rw-r--r--storage/src/vespa/storage/distributor/top_level_distributor.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/src/vespa/storage/distributor/top_level_distributor.cpp b/storage/src/vespa/storage/distributor/top_level_distributor.cpp
index 710f554df4b..aa02ec9b7d3 100644
--- a/storage/src/vespa/storage/distributor/top_level_distributor.cpp
+++ b/storage/src/vespa/storage/distributor/top_level_distributor.cpp
@@ -109,10 +109,9 @@ TopLevelDistributor::TopLevelDistributor(DistributorComponentRegister& compReg,
_bucket_db_status_delegate = std::make_unique<StatusReporterDelegate>(compReg, *this, *_bucket_db_updater);
_bucket_db_status_delegate->registerStatusPage();
- _hostInfoReporter.enableReporting(config().getEnableHostInfoReporting());
hostInfoReporterRegistrar.registerReporter(&_hostInfoReporter);
propagate_default_distribution_thread_unsafe(_component.getDistribution()); // Stripes not started yet
-};
+}
TopLevelDistributor::~TopLevelDistributor()
{
@@ -437,7 +436,6 @@ TopLevelDistributor::enable_next_config_if_changed()
auto guard = _stripe_accessor->rendezvous_and_hold_all();
guard->update_total_distributor_config(_component.total_distributor_config_sp());
}
- _hostInfoReporter.enableReporting(config().getEnableHostInfoReporting());
_maintenance_safe_time_delay = _total_config->getMaxClusterClockSkew();
_current_internal_config_generation = _component.internal_config_generation();
}