@Override public void setRVVTrusted(boolean rvvTrusted) { DiskRegion dr = this.getDiskRegion(); //Update whether or not the RVV we have recovered is trusted (accurately //represents what we have on disk). if(dr != null) { dr.setRVVTrusted(rvvTrusted); } }
@Override public void setRVVTrusted(boolean rvvTrusted) { if(this.concurrencyChecksEnabled) { DiskRegion dr = this.getDiskRegion(); //Update whether or not the RVV we have recovered is trusted (accurately //represents what we have on disk). if(dr != null) { dr.setRVVTrusted(rvvTrusted); } } }
public void endDestroyDataStorage(LocalRegion region, DiskRegion dr) { try { clear(region, dr, null); dr.resetRVV(); dr.setRVVTrusted(false); dr.writeRVV(null, null); // just persist the empty rvv with trust=false } catch (RegionDestroyedException rde) { // ignore a RegionDestroyedException at this stage } if (this.initFile != null && dr.isBackup()) { this.initFile.endDestroyDataStorage(dr); } }
public void endDestroyDataStorage(LocalRegion region, DiskRegion dr) { // logger.info(LocalizedStrings.DEBUG, "DEBUG endPartialDestroyRegion dr=" + // dr.getName()); try { clear(region, dr, null); dr.resetRVV(); dr.setRVVTrusted(false); dr.writeRVV(null, null); // just persist the empty rvv with trust=false } catch (RegionDestroyedException rde) { // ignore a RegionDestroyedException at this stage } if (this.initFile != null && dr.isBackup()) { this.initFile.endDestroyDataStorage(dr); } }
dr.setRVVTrusted(isRVVTrusted);
dr.setRVVTrusted(isRVVTrusted);