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

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 4.9.0, 4.8.2
    • 4.9.0, 4.8.2
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: