protected boolean setInMemoryCompactionFlag() {
    return inMemoryCompactionInProgress.compareAndSet(false, true);
  }
Push the current active memstore segment into the pipeline and create a snapshot of the tail of
current compaction pipeline Snapshot must be cleared by call to {@link #clearSnapshot}.
{@link #clearSnapshot(long)}.
@return {@link MemStoreSnapshot}
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/CompactingMemStore.java