X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fyang%2Fdistributed-datastore-provider.yang;fp=opendaylight%2Fmd-sal%2Fsal-distributed-datastore%2Fsrc%2Fmain%2Fyang%2Fdistributed-datastore-provider.yang;h=49a51a625c9e7a4c9ce21f73c17c2c2e72d43357;hp=d14c828809e727eb8bf8dca08f1cae8cbc8f4d8e;hb=b25ae9347455b1bae8f25424a9ceffc017f2f0db;hpb=8b24b0354ca9db35631d85a2b32d2419157c2a3e 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 d14c828809..49a51a625c 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 @@ -248,6 +248,14 @@ module distributed-datastore-provider { is the threshold in terms of number of megabytes before it should switch from storing in memory to buffering to a file."; } + + leaf sync-index-threshold { + default 10; + type non-zero-uint32-type; + description "Permitted synchronization lag, expressed in terms of RAFT entry count. It a follower's + commitIndex trails the leader's journal by more than this amount of entries the follower + is considered to be out-of-sync."; + } } // Augments the 'configuration' choice node under modules/module.