Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
-
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
- duplicates
-
IGNITE-3516 H2 Indexing unregisterCache method does not cleanup resources and causes memory leak with OFFHEAP_TIERED cache mode cache.
- Closed