private MemStoreSize doDropStoreMemStoreContentsForSeqId(HStore s, long currentSeqId) throws IOException { MemStoreSize flushableSize = s.getFlushableSize(); this.decrMemStoreSize(flushableSize); StoreFlushContext ctx = s.createFlushContext(currentSeqId, FlushLifeCycleTracker.DUMMY); ctx.prepare(); ctx.abort(); return flushableSize; }
if (ctx != null) { MemStoreSize mss = store.getFlushableSize(); ctx.abort(); this.decrMemStoreSize(mss); this.prepareFlushResult.storeFlushCtxs.
if (ctx != null) { MemStoreSize mss = store.getFlushableSize(); ctx.abort(); this.decrMemStoreSize(mss); this.prepareFlushResult.storeFlushCtxs.remove(family);
private long doDropStoreMemstoreContentsForSeqId(Store s, long currentSeqId) throws IOException { long snapshotSize = s.getFlushableSize(); this.addAndGetGlobalMemstoreSize(-snapshotSize); StoreFlushContext ctx = s.createFlushContext(currentSeqId); ctx.prepare(); ctx.abort(); return snapshotSize; }
if (ctx != null) { long snapshotSize = store.getFlushableSize(); ctx.abort(); this.addAndGetGlobalMemstoreSize(-snapshotSize); this.prepareFlushResult.storeFlushCtxs.remove(store.getFamily().getName());
if (ctx != null) { long snapshotSize = store.getFlushableSize(); ctx.abort(); this.addAndGetGlobalMemstoreSize(-snapshotSize); this.prepareFlushResult.storeFlushCtxs.remove(family);