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

HiveLockObjectData is not compared properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 0.12.0
    • Locking
    • 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.3.patch
          4 kB
          Phabricator
        2. HIVE-4733.D11277.2.patch
          4 kB
          Phabricator
        3. HIVE-4733.D11277.1.patch
          3 kB
          Phabricator

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: