@SuppressWarnings("deprecation")
    private void writeDate() throws IOException {
        final File file = new File(this.path);
        try (final FileWriter writer = new FileWriter(file, false)) {
            writer.write(new Date().toGMTString());
            writer.write(System.lineSeparator());
        }
    }
Abort file

@author boyan(boyan@antfin.com)
jraft-core/src/main/java/com/alipay/sofa/jraft/storage/log/AbortFile.java