Make creating materialized view atomic to prevent race conditions

XMLWordPrintable

    • High
    • [:gear: Improvement] Improved task materialized view creation to prevent possible race condition

      The problem

      In some very rare cases during materialized view creation due to the way how it is created (table first and then fields) if another process accesses that table it can be cached improperly, without some fields, which may lead to improper working of the whole view (See related TS issue)

      Solution

      Need to make mat view creation process to be atomic.

            Assignee:
            Leon Kiz
            Reporter:
            Leon Kiz
            Thomas Lauria
            Stephan Bergmann, Sylvia Schumacher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: