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

Unify type descriptor removal and destruction in IgniteH2Indexing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.7
    • None
    • 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

              Unassigned Unassigned
              sergi Sergei Vladykin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: