@Override
    public void clear() {
        deleteFileIfExists(stateFile);
        deleteFileIfExists(new File(stateFile.getAbsolutePath() + ".tmp"));
    }
Clear state store by deleting the local quorum state file
raft/src/main/java/org/apache/kafka/raft/FileQuorumStateStore.java