Compact all the stores. This should be called periodically to make sure the stores are kept manageable. This operation could block for a long time, so don't call it from a time-sensitive thread. If it returns TRUE, the compaction has completed. If it returns FALSE, the compaction was not carried out, because the HRegion is busy doing something else storage-intensive (like flushing the cache). The caller should check back later.
This is a helper function that compact all the stores synchronously It is used by utilities and testing
@param majorCompaction True to force a major compaction regardless of thresholds
@throws IOException e
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.