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

io thread still around after a EXPIRED_SESSION or AUTH_FAILED event is received

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • c client
    • None

    Description

      If a session expires, the zhandle_t becomes invalid and useless; however, the io thread keeps going.

      do_io in mt_adaptor.c needs to check the return code of zookeeper_interest and zookeeper_process and get out of the loop if the handle is invalid.

      Attachments

        Activity

          People

            Unassigned Unassigned
            breed Benjamin Reed
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: