diff options
author | Geir Storli <geirst@verizonmedia.com> | 2021-05-05 15:18:42 +0000 |
---|---|---|
committer | Geir Storli <geirst@verizonmedia.com> | 2021-05-05 15:18:42 +0000 |
commit | 4c9730f04e9ad5172fbe2bfe901d406ce91be3a0 (patch) | |
tree | 317292979ea820e815b8100dadfa2d0f0db9b025 /storage/src/vespa/storage/distributor/idealstatemanager.cpp | |
parent | 27d771c22b7eb6a18d6c483ef7df9d422dc79c95 (diff) |
Make status reporting from distributor and bucket db updater work when running in new stripe mode.
Diffstat (limited to 'storage/src/vespa/storage/distributor/idealstatemanager.cpp')
-rw-r--r-- | storage/src/vespa/storage/distributor/idealstatemanager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/src/vespa/storage/distributor/idealstatemanager.cpp b/storage/src/vespa/storage/distributor/idealstatemanager.cpp index a090f00300b..17f3911c6ee 100644 --- a/storage/src/vespa/storage/distributor/idealstatemanager.cpp +++ b/storage/src/vespa/storage/distributor/idealstatemanager.cpp @@ -288,8 +288,6 @@ IdealStateManager::getBucketStatus( } void IdealStateManager::dump_bucket_space_db_status(document::BucketSpace bucket_space, std::ostream& out) const { - out << "<h2>" << document::FixedBucketSpaces::to_string(bucket_space) << " - " << bucket_space << "</h2>\n"; - StatusBucketVisitor proc(*this, bucket_space, out); auto &distributorBucketSpace(_bucketSpaceRepo.get(bucket_space)); distributorBucketSpace.getBucketDatabase().forEach(proc); @@ -300,6 +298,7 @@ void IdealStateManager::getBucketStatus(std::ostream& out) const { _distributorComponent.getDistributor().getClusterStateBundle().getVersion()); for (auto& space : _bucketSpaceRepo) { + out << "<h2>" << document::FixedBucketSpaces::to_string(space.first) << " - " << space.first << "</h2>\n"; dump_bucket_space_db_status(space.first, out); } } |