summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorGeir Storli <geirstorli@yahoo.no>2017-11-23 16:31:06 +0100
committerGitHub <noreply@github.com>2017-11-23 16:31:06 +0100
commit81226e4673d4291e82d8119b0ddf83ca23071fa4 (patch)
tree94f5f79ed49366daa70a9ee1f52041ababb31cfb /storage
parent75d658556fdee38cac7160beb68a74f0bdf0f660 (diff)
parentaeb5055a0093675a9f0099c31706529a55a9a1d3 (diff)
Merge pull request #4255 from vespa-engine/geirst/produce-new-bucket-spaces-config-for-distributor-nodes
Produce new bucket spaces config for distributor nodes.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/config/CMakeLists.txt2
-rw-r--r--storage/src/vespa/storage/config/bucketspaces.def11
2 files changed, 13 insertions, 0 deletions
diff --git a/storage/src/vespa/storage/config/CMakeLists.txt b/storage/src/vespa/storage/config/CMakeLists.txt
index 4a20d510043..65eeeaf3221 100644
--- a/storage/src/vespa/storage/config/CMakeLists.txt
+++ b/storage/src/vespa/storage/config/CMakeLists.txt
@@ -28,3 +28,5 @@ vespa_generate_config(storage_storageconfig stor-prioritymapping.def)
install_config_definition(stor-prioritymapping.def vespa.config.content.core.stor-prioritymapping.def)
vespa_generate_config(storage_storageconfig rpc-provider.def)
install_config_definition(rpc-provider.def vespa.config.content.core.rpc-provider.def)
+vespa_generate_config(storage_storageconfig bucketspaces.def)
+install_config_definition(bucketspaces.def vespa.config.content.core.bucketspaces.def)
diff --git a/storage/src/vespa/storage/config/bucketspaces.def b/storage/src/vespa/storage/config/bucketspaces.def
new file mode 100644
index 00000000000..3ed1abba0b4
--- /dev/null
+++ b/storage/src/vespa/storage/config/bucketspaces.def
@@ -0,0 +1,11 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+namespace=vespa.config.content.core
+
+## This config contains the document types handled by a given content cluster
+## and the bucket space they belong to.
+
+## The name of a document type.
+documenttype[].name string
+
+## The bucket space this document type belongs to.
+documenttype[].bucketspace string