@Override
  int getNumOpenWriters() {
    return writers.size();
  }
Close all the output streams.
@param finalizeEdits true in the successful close case, false when we don't want to rename and
                     finalize the temporary, possibly corrupted WAL files, such as when there
                     was a previous failure or exception. Please see HBASE-28569.
@return true when there is no error.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/RecoveredEditsOutputSink.java