X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fyang%2Fdistributed-datastore-provider.yang;h=3c753d02d5a9520d7ca82db1a4a7d90217c9d222;hb=34e38a415bc299403657315a5b61afd432dcbbee;hp=dc83af9a756374694e6203c61eebc49d72e214fc;hpb=edcc020c8fda4b13f22a31d79c13feef0b53b0ee;p=controller.git diff --git a/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/distributed-datastore-provider.yang b/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/distributed-datastore-provider.yang index dc83af9a75..3c753d02d5 100644 --- a/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/distributed-datastore-provider.yang +++ b/opendaylight/md-sal/sal-distributed-datastore/src/main/yang/distributed-datastore-provider.yang @@ -136,11 +136,21 @@ module distributed-datastore-provider { } leaf shard-transaction-commit-queue-capacity { - default 20000; + default 50000; type non-zero-uint32-type; description "The maximum allowed capacity for each shard's transaction commit queue."; } + leaf shard-commit-queue-expiry-timeout-in-seconds { + default 120; // 2 minutes + type non-zero-uint32-type; + description "The maximum amount of time a transaction can remain in a shard's commit queue waiting + to begin the CanCommit phase as coordinated by the broker front-end. Normally this should be + quick but latencies can occur in between transaction ready and CanCommit or a remote broker + could lose connection and CanCommit might never occur. Expiring transactions from the queue + allows subsequent pending transaction to be processed."; + } + leaf shard-initialization-timeout-in-seconds { default 300; // 5 minutes type non-zero-uint32-type;