Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-3534 Support multi region SYSTEM.CATALOG table
  3. PHOENIX-4799

Write cells using checkAndMutate to prevent conflicting changes

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.15.0, 5.1.0
    • 4.15.0, 5.1.0
    • None
    • None

    Description

      In order to prevent race conditions when multiple client try to mutate the same column before sending the request to mutate the column to the server do a checkAndMutate with the column name being added/dropped. Also:
      1. When a view is created do a checkAndMutate with the columns in the view where clause.
      2. When an index on a view is created do a checkAndMutate with the indexed columns.

       

      To prevent a race condition in the DROP TABLE CASCADE case, when a table is dropped do a checkAndMutate with the rowkey of the base table name. If a view is created it also does a checkAndMutate with the same rowkey. 

      Attachments

        1. PHOENIX-4799-v2.patch
          52 kB
          Thomas D'Silva
        2. PHOENIX-4799-v3.patch
          60 kB
          Thomas D'Silva
        3. PHOENIX-4799-v4-4.x-HBase-1.3.patch
          67 kB
          Thomas D'Silva
        4. PHOENIX-4799-v4.patch
          67 kB
          Thomas D'Silva
        5. PHOENIX-4799-v5.patch
          69 kB
          Thomas D'Silva
        6. PHOENIX-4799-v5-4.x-HBase-1.3.patch
          69 kB
          Thomas D'Silva
        7. PHOENIX-4799-v6.patch
          71 kB
          Thomas D'Silva
        8. PHOENIX-4799-v6-4.x-HBase-1.3.patch
          69 kB
          Thomas D'Silva

        Issue Links

          Activity

            People

              tdsilva Thomas D'Silva
              tdsilva Thomas D'Silva
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: