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

Unify type descriptor removal and destruction in IgniteH2Indexing

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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 Sergei Vladykin

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment