Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2295

TGT refresh time logic is wrong

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.4.7, 3.5.1
    • 3.4.8, 3.5.2, 3.6.0
    • None
    • None

    Description

      When Kerberos is used as authentication mechanism some time TGT is getting expired because it is not refreshed timely.
      The scenario is as follow:
      suppose now=8 (the current milliseconds)
      next refresh time= 10
      TGT expire time= 9

      Current behaviour: Error is logged and TGT refresh thread exits.
      Expected behaviour: TGT should be refreshed immediately(now) instead of nextRefreshTime

      Attachments

        1. ZOOKEEPER-2295-01.patch
          0.6 kB
          Mohammad Arshad
        2. ZOOKEEPER-2295-02.patch
          2 kB
          Mohammad Arshad
        3. ZOOKEEPER-2295-03.patch
          2 kB
          Mohammad Arshad

        Activity

          People

            arshad.mohammad Mohammad Arshad
            arshad.mohammad Mohammad Arshad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: