BUG 2463 - Changing setting for shard-snapshot-data-threshold-percentage does not... 41/13341/2
authorMoiz Raja <moraja@cisco.com>
Wed, 3 Dec 2014 13:20:33 +0000 (05:20 -0800)
committerMoiz Raja <moraja@cisco.com>
Fri, 5 Dec 2014 00:49:08 +0000 (00:49 +0000)
commit20b2ba67a79b1ec7f3d2fd58ed32f22ea54a1b59
treec9b612b9de1c6663e628b69b6b4bab1e778f6adf
parent7ce44a14175815c85189845c918454a037f0db10
BUG 2463 - Changing setting for shard-snapshot-data-threshold-percentage does not work

This was missed by the commit which introduced this setting. It was not read from the config
and set on the DataStoreContext. This meant that the default (12 percent) was used regardless
of the actual setting.

Also changed the name of the stat to InMemoryJournalDataSize instead of just DataSize to be
more clear

Change-Id: Iaffddb3e614db7a270d847ba219801e36c8a64e0
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/Shard.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/jmx/mbeans/shard/ShardStats.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/jmx/mbeans/shard/ShardStatsMXBean.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/config/yang/config/distributed_datastore_provider/DistributedConfigDataStoreProviderModule.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/config/yang/config/distributed_datastore_provider/DistributedOperationalDataStoreProviderModule.java