SGF-145 - allow disk overflow with non persistent regions

This commit is contained in:
David Turanski
2013-01-04 08:11:01 -05:00
parent 007674042a
commit 408813b2c1
2 changed files with 1 additions and 3 deletions

View File

@@ -159,8 +159,6 @@ public class RegionFactoryBean<K, V> extends RegionLookupFactoryBean<K, V> imple
if (diskStoreName != null) {
regionFactory.setDiskStoreName(diskStoreName);
Assert.isTrue(!isNotPersistent(), "it is invalid to specify a disk store if 'persistent' is set to false.");
persistent = true;
}
resolveDataPolicy(regionFactory, persistent, dataPolicy);

View File

@@ -32,7 +32,7 @@
<gfe:entry-ttl timeout="${ttl}" action="DESTROY"/>
</gfe:partitioned-region>
<gfe:replicated-region id="replicated-data" close="true" destroy="false" disk-store-ref="diskStore1">
<gfe:replicated-region id="replicated-data" close="true" destroy="false" disk-store-ref="diskStore1" persistent="false">
<gfe:region-ttl timeout="${ttl}" action="DESTROY"/>
<gfe:region-tti timeout="400" action="INVALIDATE"/>