public void sync() {
    table.refresh();
    Map<String, String> properties = table.properties();
    shouldDoubleWrite =
        !properties.containsKey(MixedFormatValidator.AUTO_EMIT_LOGSTORE_WATERMARK_GAP.key());
    LOG.info(
        "AutomaticDoubleWriteStatus sync, subTaskId: {}, should double write: {}",
        subtaskId,
        shouldDoubleWrite);
  }
This is an automatic logstore writer util class.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/write/AutomaticDoubleWriteStatus.java