Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3407

Read only RowLock may lead to corrupting SYSTEM.CATALOG and non atomic sequences in HBase 1.2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.9.0, 4.8.2
    • Fix Version/s: 4.9.0, 4.8.2
    • Labels:
      None

      Description

      We're taking a reentrant read lock when we should be taking a write lock in MetaDataEndPointImpl:

              RowLock rowLock = region.getRowLock(key, true);
      

      Not sure if the HBase API changed at some point, but I could have sworn the boolean was for whether or not you wanted to block.

        Attachments

        1. PHOENIX-3407.patch
          4 kB
          James R. Taylor

          Activity

            People

            • Assignee:
              jamestaylor James R. Taylor
              Reporter:
              jamestaylor James R. Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: