private void removeEntryFromStream(WALEntryStream entryStream, WALEntryBatch batch) {
    entryStream.next();
    firstCellInEntryBeforeFiltering = null;
    batch.setLastWalPosition(entryStream.getPosition());
  }
WAL reader for a serial replication peer.
hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/SerialReplicationSourceWALReader.java