Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-16395

Calcite engine. Implement correct copy-on-write on schema objects change

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      Currently, we only copy the schemas list when any schema object changes (see SchemaHolderImpl.rebuild()), but it can lead to some problems. For example, during planning, if some index dropped concurrently there will be NPE after tbl.getIndex(String) in some rules. So, we should copy the table containing this index and copy the schema containing this table at least for DROP INDEX command.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alex_pl Aleksey Plekhanov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: