HHH-11254 Timestamps cache fails validation if eviction strategy = MANUAL
This commit is contained in:
parent
e3df389683
commit
79ff7aec5b
|
@ -132,7 +132,7 @@ public class InfinispanRegionFactory implements RegionFactory {
|
|||
if ( c.clustering().cacheMode().isInvalidation() ) {
|
||||
throw log.timestampsMustNotUseInvalidation();
|
||||
}
|
||||
if (c.eviction().strategy() != EvictionStrategy.NONE) {
|
||||
if (c.eviction().strategy().isEnabled()) {
|
||||
throw log.timestampsMustNotUseEviction();
|
||||
}
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue