summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/content.rnc
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-09-06 12:12:31 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2016-09-06 12:12:31 +0200
commit6c4cdefe7ff089cef09e3c8c5218a5034b463e13 (patch)
treec5cb40c8c0405fa92d114224e7c9fa71c51eeccf /config-model/src/main/resources/schema/content.rnc
parent56f156ef649460396f227a6a01ee49d4df901020 (diff)
Add option to control if you want core on OOM.
Currently only for searchnodes. Unify naming of mmap-nocore-limit => mmap-core-limit.
Diffstat (limited to 'config-model/src/main/resources/schema/content.rnc')
-rw-r--r--config-model/src/main/resources/schema/content.rnc19
1 files changed, 11 insertions, 8 deletions
diff --git a/config-model/src/main/resources/schema/content.rnc b/config-model/src/main/resources/schema/content.rnc
index 38258a0ae63..110bcc5e3bc 100644
--- a/config-model/src/main/resources/schema/content.rnc
+++ b/config-model/src/main/resources/schema/content.rnc
@@ -191,17 +191,19 @@ Documents = element documents {
}
ContentNode = element node {
- GenericConfig* &
- service.attlist &
- attribute distribution-key { xsd:nonNegativeInteger } &
- attribute capacity { xsd:double { minExclusive = "0.0" } }? &
- attribute cpu-socket { xsd:nonNegativeInteger }? &
- attribute mmap-nocore-limit { xsd:nonNegativeInteger }?
+ GenericConfig* &
+ service.attlist &
+ attribute distribution-key { xsd:nonNegativeInteger } &
+ attribute capacity { xsd:double { minExclusive = "0.0" } }? &
+ attribute mmap-core-limit { xsd:nonNegativeInteger }? &
+ attribute core-on-oom { xsd:boolean }? &
+ attribute cpu-socket { xsd:nonNegativeInteger }?
}
ContentNodes = element nodes {
attribute cpu-socket-affinity { xsd:string }? &
- attribute mmap-nocore-limit { xsd:nonNegativeInteger }? &
+ attribute mmap-core-limit { xsd:nonNegativeInteger }? &
+ attribute core-on-oom { xsd:boolean }? &
(
(
attribute count { xsd:positiveInteger } &
@@ -221,7 +223,8 @@ TopGroup = element group {
# break all system tests and backward compatibility.
attribute name { xsd:string }? &
attribute cpu-socket-affinity { xsd:string }? &
- attribute mmap-nocore-limit { xsd:nonNegativeInteger }? &
+ attribute mmap-core-limit { xsd:nonNegativeInteger }? &
+ attribute core-on-oom { xsd:boolean }? &
attribute distribution-key { xsd:nonNegativeInteger }? &
(
ContentNode +