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

Unify type descriptor removal and destruction in IgniteH2Indexing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Component/s: None
    • Labels:
      None

      Description

      Currently I see at least 3 places where we have to deal with table destruction:

      1. unregisterCache() -> Schema.onDrop()
      2. unregisterType() -> removeTable()
      3. stop()

      We need to refactor them to call the same logic which has to always do the following steps:
      1. dataTables.remove()
      2. GridH2Table.destroy()
      3. U.closeQuiet(TableDescriptor.luceneIdx)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sergi.vladykin Sergi Vladykin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: