X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-dom-broker%2Fsrc%2Fmain%2Fyang%2Fopendaylight-dom-broker-impl.yang;h=fa6d4961939b6f5bcbf4f5eb50d042ea9aa86556;hb=5764146d24df9d9450ebfbb0aec10cbbcdcc655c;hp=b1df7efcdbb6e4efb0ad6fdd2ecbf85aed2b98d1;hpb=57769930716e9e5a55336145998525d3392c0ed8;p=controller.git diff --git a/opendaylight/md-sal/sal-dom-broker/src/main/yang/opendaylight-dom-broker-impl.yang b/opendaylight/md-sal/sal-dom-broker/src/main/yang/opendaylight-dom-broker-impl.yang index b1df7efcdb..fa6d496193 100644 --- a/opendaylight/md-sal/sal-dom-broker/src/main/yang/opendaylight-dom-broker-impl.yang +++ b/opendaylight/md-sal/sal-dom-broker/src/main/yang/opendaylight-dom-broker-impl.yang @@ -32,12 +32,6 @@ module opendaylight-sal-dom-broker-impl { config:provided-service sal:dom-async-data-broker; } - identity hash-map-data-store { - base config:module-type; - config:provided-service sal:dom-data-store; - config:java-name-prefix HashMapDataStore; - } - identity schema-service-singleton { base config:module-type; config:provided-service sal:schema-service; @@ -126,12 +120,14 @@ module opendaylight-sal-dom-broker-impl { type uint16; description "The maximum queue size for the data broker's commit executor."; } - } - } - - augment "/config:modules/config:module/config:state" { - case hash-map-data-store { - when "/config:modules/config:module/config:type = 'hash-map-data-store'"; + + leaf allow-concurrent-commits { + default false; + type boolean; + description "Specifies whether or not to allow 3-phrase commits to run concurrently. + Use with caution. If set to true, the data store implementations must be prepared + to handle concurrent commits. The default is false"; + } } } @@ -149,4 +145,4 @@ module opendaylight-sal-dom-broker-impl { } } } -} \ No newline at end of file +}