Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4759 Multi-user deployment model has issues with concurrent ddl
  3. HIVE-4761

ZooKeeperHiveLockManage.unlockPrimitive has race condition with threads

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

      In unlockPrimitive, we check to see if children exist and if not delete the parent node. If two threads do this at the same time it's possible for two threads to call Zookeeper.delete() on the same node.

        Attachments

        1. HIVE-4761.patch
          6 kB
          Brock Noland
        2. HIVE-4761.patch
          6 kB
          Brock Noland

          Issue Links

            Activity

              People

              • Assignee:
                brocknoland Brock Noland
                Reporter:
                brocknoland Brock Noland
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: