Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-20597

Use a lock to serialize access to a shared reference to ZooKeeperWatcher in HBaseReplicationEndpoint

    XMLWordPrintableJSON

    Details

    • Hadoop Flags:
      Reviewed

      Description

      The code that closes down a ZKW that fails to initialize when attempting to connect to the remote cluster is not MT safe and can in theory leak ZooKeeperWatcher instances. The allocation of a new ZKW and store to the reference is not atomic. Might have concurrent allocations with only one winning store, leading to leaked ZKW instances.

        Attachments

        1. HBASE-20597.addendum.0.patch
          3 kB
          Sean Busbey
        2. HBASE-20597.patch
          4 kB
          Andrew Kyle Purtell
        3. HBASE-20597-branch-1.addendum-v2.0.patch
          3 kB
          Andrew Kyle Purtell
        4. HBASE-20597-branch-1.patch
          4 kB
          Andrew Kyle Purtell

          Activity

            People

            • Assignee:
              apurtell Andrew Kyle Purtell
              Reporter:
              apurtell Andrew Kyle Purtell
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: