BUG 2463 - Changing setting for shard-snapshot-data-threshold-percentage does not... 87/13387/1
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 02:38:59 +0000 (02:38 +0000)
commitb87a0db3a2f6f31313572da38943d0320bc8917f
treeaf3d906e62c82ca1fafd77945f1e0864aeab3780
parent8cb874c54b828460bac24b7e08b2fb0f4f0b7d4a
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