Class FlushSnapshotSubprocedure

java.lang.Object
org.apache.hadoop.hbase.procedure.Subprocedure
org.apache.hadoop.hbase.regionserver.snapshot.FlushSnapshotSubprocedure
All Implemented Interfaces:
Callable<Void>

@Private @Unstable public class FlushSnapshotSubprocedure extends Subprocedure
This online snapshot implementation uses the distributed procedure framework to force a store flush and then records the hfiles. Its enter stage does nothing. Its leave stage then flushes the memstore, builds the region server's snapshot manifest from its hfiles list, and copies .regioninfos into the snapshot working directory. At the master side, there is an atomic rename of the working dir into the proper snapshot directory.