summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorGeir Storli <geirstorli@yahoo.no>2018-01-15 14:18:36 +0100
committerGitHub <noreply@github.com>2018-01-15 14:18:36 +0100
commit0b3d312ee0e62df746d4a5ab8b567d6e6506ccb3 (patch)
tree616aa4b08c6adb65528c42cae9821feab501d70f /storage
parent8db3fd589dde3295d485b7c5898c3d2165369fd6 (diff)
parente23fd8920f216ebae53515cb066ea1d94aa95952 (diff)
Merge pull request #4646 from vespa-engine/vekterli/count-each-bucket-space-for-listing-during-db-init
Count each bucket space for listing during bucket DB init
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/bucketdb/storagebucketdbinitializer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/bucketdb/storagebucketdbinitializer.cpp b/storage/src/vespa/storage/bucketdb/storagebucketdbinitializer.cpp
index 1bc473308a4..3576011d492 100644
--- a/storage/src/vespa/storage/bucketdb/storagebucketdbinitializer.cpp
+++ b/storage/src/vespa/storage/bucketdb/storagebucketdbinitializer.cpp
@@ -146,8 +146,8 @@ StorageBucketDBInitializer::StorageBucketDBInitializer(
_readState[i] = std::make_unique<BucketSpaceReadState>();
for (const auto &elem : _system._bucketSpaceRepo) {
_readState[i]->emplace(elem.first, std::make_unique<BucketReadState>());
+ _state._dirsToList += 1;
}
- _state._dirsToList += 1;
}
_system._component.registerStatusPage(*this);
}