protected boolean isWriterBroken() {
    return writerBroken(epochAndState);
  }
This method gets the datanode replication count for the current WAL.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java