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

Killed (or missing) SendThread will cause hanging threads

    XMLWordPrintableJSON

Details

    • Incompatible change

    Description

      After investigating an issues with hanging threads I noticed that any java.lang.Error might silently kill the SendThread. Without a SendThread any thread that wants to send something will hang forever.

      Currently nobody will recognize a SendThread that died. I think at least a state should be flipped (or flag should be set) that causes all further send attempts to fail or to re-spin the connection loop.

      Attachments

        1. ZOOKEEPER-1100.patch
          3 kB
          Camille Fournier
        2. ZOOKEEPER-1100.patch
          1 kB
          Rakesh Radhakrishnan

        Issue Links

          Activity

            People

              fournc Camille Fournier
              gunnar Gunnar Wagenknecht
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: