protected WALEdit createWALEdit(final MiniBatchOperationInProgress<Mutation> miniBatchOp) {
      return new WALEdit(miniBatchOp.getCellCount(), isInReplay());
    }
Creates Mini-batch of all operations [nextIndexToProcess, lastIndexExclusive) for which a row
lock can be acquired. All mutations with locked rows are considered to be In-progress
operations and hence the name {@link MiniBatchOperationInProgress}. Mini batch is window over
{@link BatchOperation} and contains contiguous pending operations.
@param acquiredRowLocks keeps track of rowLocks acquired.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java