Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1263 fix handling of min/max session timeout value initialization
  3. ZOOKEEPER-1227

Zookeeper logs is showing -1 as min/max session timeout if there is no sessiontimeout value configured

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.3
    • 3.5.0
    • server
    • None

    Description

      When starting the ZooKeeper without configuring 'minimumSessionTimeOut' and 'maximumSessionTimeOut'.

      I'm seeing the '-1' as the lower and the upper bound, instead it should give the default values : tickTime*2 and tickTime*20

      2011-10-14 13:07:18,761 - INFO  [main:QuorumPeerConfig@92] - Reading configuration from: /home/amith/CI/source/install/zookeeper/zookeeper1/bin/../conf/zoo.cfg
      
      2011-10-14 13:07:19,118 - INFO  [main:QuorumPeer@834] - tickTime set to 2000
      2011-10-14 13:07:19,119 - INFO  [main:QuorumPeer@845] - minSessionTimeout set to -1
      2011-10-14 13:07:19,119 - INFO  [main:QuorumPeer@856] - maxSessionTimeout set to -1
      

      Suggestion
      Move the defaulting logic to the QuorumPeerConfig instead of doing in the QuorumPeer

      Attachments

        1. ZOOKEEPER-1227.patch
          3 kB
          Rakesh Radhakrishnan

        Issue Links

          Activity

            People

              rakeshr Rakesh Radhakrishnan
              rakeshr Rakesh Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: