ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krome Plasma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3560) Unify type descriptor removal and destruction in IgniteH2Indexing
Date Wed, 27 Jul 2016 10:48:20 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-3560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15395433#comment-15395433
] 

Krome Plasma commented on IGNITE-3560:
--------------------------------------

Yes that is true, thanks.

> Unify type descriptor removal and destruction in IgniteH2Indexing
> -----------------------------------------------------------------
>
>                 Key: IGNITE-3560
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3560
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Sergi Vladykin
>            Priority: Blocker
>             Fix For: 1.7
>
>
> 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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message