Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-475

Cannot effectively set connectionTimeout < 1000ms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.1.0
    • Client
    • None

    Description

      Regardless of the value set in connectionTimeoutMs the
      CuratorZookeeperClient#internalBlockUntilConnectedOrTimedOut method does
      the initial wait with value of 1 second, effectively making settings lower than
      this value ineffective. A simple change that would change the 1 second to min(remainingWaitTime, 1 second) would solve the problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              matobet Martin Betak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: