@Override public void completeMiniBatchOperations( final MiniBatchOperationInProgress<Mutation> miniBatchOp, final WriteEntry writeEntry) throws IOException { super.completeMiniBatchOperations(miniBatchOp, writeEntry); region.mvcc.advanceTo(getOrigLogSeqNum()); } }
region.getMVCC().advanceTo(this.getMaxSequenceId().getAsLong());
mvcc.advanceTo(s.getMaxMemStoreTS().orElse(0L));
/** * Open HRegion. * Calls initialize and sets sequenceId. * @return Returns <code>this</code> */ protected HRegion openHRegion(final CancelableProgressable reporter) throws IOException { // Refuse to open the region if we are missing local compression support checkCompressionCodecs(); LOG.debug("checking encryption for " + this.getRegionInfo().getEncodedName()); // Refuse to open the region if encryption configuration is incorrect or // codec support is missing checkEncryption(); // Refuse to open the region if a required class cannot be loaded LOG.debug("checking classloading for " + this.getRegionInfo().getEncodedName()); checkClassLoading(); this.openSeqNum = initialize(reporter); this.mvcc.advanceTo(openSeqNum); // The openSeqNum must be increased every time when a region is assigned, as we rely on it to // determine whether a region has been successfully reopened. So here we always write open // marker, even if the table is read only. if (wal != null && getRegionServerServices() != null && RegionReplicaUtil.isDefaultReplica(getRegionInfo())) { writeRegionOpenMarker(wal, openSeqNum); } return this; }
this.mvcc.advanceTo(maxSeqId); if (ServerRegionReplicaUtil.shouldReplayRecoveredEdits(this)) { Collection<HStore> stores = this.stores.values(); replayRecoveredEditsIfAny(maxSeqIdInStores, reporter, status)); this.mvcc.advanceTo(maxSeqId); } finally { LOG.debug("stopping wal replay for " + this.getRegionInfo().getEncodedName());
mvcc.advanceTo(bulkLoadEvent.getBulkloadSeqNum());
mvcc.advanceTo(flush.getFlushSequenceNumber());
region.getMVCC().advanceTo(seqId); Get get = new Get(row); Result result = region.get(get);
region.getMVCC().advanceTo(seqId); Get get = new Get(row); Result result = region.get(get);
TEST_UTIL.getConfiguration().setBoolean(HConstants.ENABLE_WAL_COMPRESSION, isCompressionEnabled); mvcc.advanceTo(1);
region.getMVCC().advanceTo(this.getMaxSequenceId());
region.mvcc.advanceTo(region.initialize(null)); if (majorCompact) { region.compact(true);
/** * Open HRegion. * Calls initialize and sets sequenceId. * @return Returns <code>this</code> * @throws IOException */ protected HRegion openHRegion(final CancelableProgressable reporter) throws IOException { // Refuse to open the region if we are missing local compression support checkCompressionCodecs(); // Refuse to open the region if encryption configuration is incorrect or // codec support is missing checkEncryption(); // Refuse to open the region if a required class cannot be loaded checkClassLoading(); this.openSeqNum = initialize(reporter); this.mvcc.advanceTo(openSeqNum); if (wal != null && getRegionServerServices() != null && !writestate.readOnly && !recovering) { // Only write the region open event marker to WAL if (1) we are not read-only // (2) dist log replay is off or we are not recovering. In case region is // recovering, the open event will be written at setRecovering(false) writeRegionOpenMarker(wal, openSeqNum); } return this; }
mvcc.advanceTo(s.getMaxMemstoreTS());
region.getMVCC().advanceTo(seqId); Get get = new Get(row); Result result = region.get(get);
region.getMVCC().advanceTo(seqId); Get get = new Get(row); Result result = region.get(get);
mvcc.advanceTo(bulkLoadEvent.getBulkloadSeqNum());
TEST_UTIL.getConfiguration().setBoolean(HConstants.ENABLE_WAL_COMPRESSION, isCompressionEnabled); mvcc.advanceTo(1);
mvcc.advanceTo(flush.getFlushSequenceNumber());