Xinyu Tan created RATIS-2047:
--------------------------------
Summary: Avoid unnecessary warn log when creating raft group
Key: RATIS-2047
URL: https://issues.apache.org/jira/browse/RATIS-2047
Project: Ratis
Issue Type: Improvement
Reporter: Xinyu Tan
Assignee: Xinyu Tan
Currently Ratis must print a warn log when creating a new raftgroup, which is
unnecessary.
After inspecting the code, it turns out that the printing of the warn log can
be optimized
{code:java}
[0-groupManagement] WARN org.apache.ratis.util.FileUtils - Failed to
Files.newInputStream
/Users/txy/Study/iotdb/target/confignode1/consensus/47474747-4747-4747-4747-000000000000/current/raft-meta.conf
with options []: java.nio.file.NoSuchFileException:
/Users/txy/Study/iotdb/target/confignode1/consensus/47474747-4747-4747-4747-000000000000/current/raft-meta.conf{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)