public static boolean isReplicationMarkerEdit(WALEdit edit) {
    // Check just the first cell from the edit. ReplicationMarker edit will have only 1 cell.
    return edit.getCells().size() == 1
      && CellUtil.matchingColumn(edit.getCells().get(0), METAFAMILY, REPLICATION_MARKER);
  }
Checks whether this edit is a replication marker edit.
@param edit edit
@return true if the cell within an edit has column = METAFAMILY and qualifier =
        REPLICATION_MARKER, false otherwise
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALEdit.java