Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-4733

HiveLockObjectData is not compared properly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: Locking
    • Labels:
      None

      Description

      ret = ret && (clientIp == null) ? target.getClientIp() == null :
                clientIp.equals(target.getClientIp());
      

      seemed intended to be

      ret = ret && (clientIp == null ? target.getClientIp() == null :
                clientIp.equals(target.getClientIp()));
      

        Attachments

        1. HIVE-4733.D11277.1.patch
          3 kB
          Phabricator
        2. HIVE-4733.D11277.2.patch
          4 kB
          Phabricator
        3. HIVE-4733.D11277.3.patch
          4 kB
          Phabricator

          Issue Links

            Activity

              People

              • Assignee:
                navis Navis Ryu
                Reporter:
                navis Navis Ryu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: