public void completeMiniBatchOperations(
      final MiniBatchOperationInProgress<Mutation> miniBatchOp, final WriteEntry writeEntry)
      throws IOException {
      if (writeEntry != null) {
        region.mvcc.completeAndWait(writeEntry);
      }
    }
This method completes mini-batch operations by calling postBatchMutate() CP hook (if
required) and completing mvcc.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java