void writerThreadError(Throwable t) {
      thrown.compareAndSet(null, t);
    }
Contains some methods to control WAL-entries producer / consumer interactions
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALSplitter.java