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

Fix setCloseThreshold parameter in RaftServerConfigKeys

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.1.0
    • API
    • None

    Description

      in RaftServerConfigKeys:

      static void setCloseThreshold(RaftProperties properties, int thresholdMs) {
        setInt(properties::setInt, CLOSE_THRESHOLD_KEY, thresholdMs);
      } 

      `int thresholdMs` is misrepresented as milliseconds while the correct unit is seconds.

      Attachments

        Issue Links

          Activity

            People

              wanghongbing Hongbing Wang
              wanghongbing Hongbing Wang
              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 - 40m
                  40m