summaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2017-07-04 10:46:35 +0200
committerJon Bratseth <bratseth@yahoo-inc.com>2017-07-04 10:46:35 +0200
commit3313221356f6d06bae1a85d20abbedde22db0914 (patch)
treea7672c7c88c081a2a52839f1382cdccf5b1940a7 /configdefinitions
parent2e19a3e8ebe1d0692e0794f2f507220847e8a64d (diff)
Allow nodes to know their index
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/cluster-member-info.def9
1 files changed, 9 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/cluster-member-info.def b/configdefinitions/src/vespa/cluster-member-info.def
new file mode 100644
index 00000000000..15781772ee5
--- /dev/null
+++ b/configdefinitions/src/vespa/cluster-member-info.def
@@ -0,0 +1,9 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+# Information about a given node's (the node receiving the config) membership in a cluster. See also cluster-info
+namespace=cloud.config
+
+# The unique index of this node in the cluster.
+# Node indexes are not necessarily continuous and starting at zero.
+index int
+
+