void cleanupFailedInitialization(LocalRegion region) { if (isRecreated() && !this.wasAboutToDestroy() && !this.wasAboutToDestroyDataStorage()) { close(region, isBucket()); } else { if(this.isBucket() && !this.wasAboutToDestroy()) { //Fix for 48642 //If this is a bucket, only destroy the data, if required. beginDestroyDataStorage(); } endDestroy(region); } } void prepareForClose(LocalRegion region) {
void cleanupFailedInitialization(LocalRegion region) { if (isRecreated() && !this.wasAboutToDestroy() && !this.wasAboutToDestroyDataStorage()) { close(region, isBucket()); } else { if(this.isBucket() && !this.wasAboutToDestroy()) { //Fix for 48642 //If this is a bucket, only destroy the data, if required. beginDestroyDataStorage(); } endDestroy(region); } } void prepareForClose(LocalRegion region) {
+ "\" has been persisted to disk so it can not be recreated on the same disk store without persistence. Either destroy the persistent region, recreate it as overflow and persistent, or create the overflow only region on a different disk store."); if (isRecreated() && isBucket != isBucket()) { if (isBucket()) { throw new IllegalStateException("The region \"" + name
assertEquals(0.75f, dr.getLoadFactor()); assertEquals(false, dr.getStatisticsEnabled()); assertEquals(false, dr.isBucket()); assertEquals(0.75f, dr.getLoadFactor()); assertEquals(false, dr.getStatisticsEnabled()); assertEquals(false, dr.isBucket()); assertEquals(0.75f, dr.getLoadFactor()); assertEquals(false, dr.getStatisticsEnabled()); assertEquals(false, dr.isBucket()); close(lr); assertEquals(0.75f, dr.getLoadFactor()); assertEquals(false, dr.getStatisticsEnabled()); assertEquals(false, dr.isBucket());
+ "\" has been persisted to disk so it can not be recreated on the same disk store without persistence. Either destroy the persistent region, recreate it as overflow and persistent, or create the overflow only region on a different disk store."); if (isRecreated() && isBucket != isBucket()) { if (isBucket()) { throw new IllegalStateException("The region \"" + getName()