Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-2047

Avoid unnecessary warn log when creating raft group

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.0
    • server
    • None

    Description

      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

      [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

      Attachments

        Issue Links

          Activity

            People

              tanxinyu Xinyu Tan
              tanxinyu Xinyu Tan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h