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

Block adding/dropping a column on a parent view for clients <4.15 and for clients that have phoenix.allow.system.catalog.rollback=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 5.0.0, 4.15.0
    • 5.1.0, 4.16.0
    • None
    • None

    Description

      For pre-4.15 clients, we have to block adding/dropping a column to a table if it has child views since we can’t do any checkAndPut distributed locking (see this).

      However, this is only prevented if the parent is a table and not if the parent is a view. We should extend the condition to also cover views since conflicting mutations on its children can also lead to inconsistencies.

      Attachments

        1. PHOENIX-6124.4.x.000.patch
          16 kB
          Viraj Jasani
        2. PHOENIX-6124.master.000.patch
          16 kB
          Viraj Jasani
        3. PHOENIX-6124.4.x.001.patch
          4 kB
          Viraj Jasani

        Activity

          People

            vjasani Viraj Jasani
            ckulkarni Chinmay Kulkarni
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: