SGF-145 - allow disk overflow with non persistent regions
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user