[
https://issues.apache.org/jira/browse/RATIS-2047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze resolved RATIS-2047.
-------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
The pull request is now merged. Thanks, [~tanxinyu] !
> 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
> Components: server
> Reporter: Xinyu Tan
> Assignee: Xinyu Tan
> Priority: Minor
> Fix For: 3.1.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)