aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@oath.com>2018-01-12 09:47:53 +0000
committerTor Brede Vekterli <vekterli@oath.com>2018-01-12 09:47:53 +0000
commit76fa254f5e0501a2d999cd18402d83c23077edba (patch)
tree86d8c3d53f3664c50425ce4ddab37665a6851622 /storage/src
parent969ce8d9b62d26529e121600b141cdde41c22696 (diff)
Propagate bucket space bootstrap config to CommunicationManager
Only propagating live configs fails to deliver the bootstrap config.
Diffstat (limited to 'storage/src')
-rw-r--r--storage/src/vespa/storage/storageserver/storagenode.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/src/vespa/storage/storageserver/storagenode.cpp b/storage/src/vespa/storage/storageserver/storagenode.cpp
index 23a3aaa160f..6be8f0a5ec8 100644
--- a/storage/src/vespa/storage/storageserver/storagenode.cpp
+++ b/storage/src/vespa/storage/storageserver/storagenode.cpp
@@ -206,6 +206,11 @@ StorageNode::initialize()
_chain.reset(createChain().release());
+ if (_component->enableMultipleBucketSpaces()) {
+ assert(_communicationManager != nullptr);
+ _communicationManager->updateBucketSpacesConfig(*_bucketSpacesConfig);
+ }
+
// Start the metric manager, such that it starts generating snapshots
// and the like. Note that at this time, all metrics should hopefully
// have been created, such that we don't need to pay the extra cost of