You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Andrew Mashenkov (JIRA)" <ji...@apache.org> on 2017/08/08 11:46:00 UTC

[jira] [Created] (IGNITE-5986) Fix failed test in .NET suite.

Andrew Mashenkov created IGNITE-5986:
----------------------------------------

             Summary: Fix failed test in .NET suite.
                 Key: IGNITE-5986
                 URL: https://issues.apache.org/jira/browse/IGNITE-5986
             Project: Ignite
          Issue Type: Test
          Components: cache, platforms
    Affects Versions: 2.1
            Reporter: Andrew Mashenkov
             Fix For: 2.2


Preface:
I've found we use closeQuiet() method in LuceneIndex.close() that suppress exceptions. 
So, this is why we have no issues here before.

I'd think when index is closing, it is expected that all queries being cancelled and at the moment all QueryCursors (which use IndexReaders) has been closed already.
But I' observe it is not true in some cases.

Looking at GridCacheProcessor.stopCache() method we call onCacheStop()-> unregisterCache -> table.onDrop() -> luceneIdx.close().

Looks like someone forget to close Cursor or\and Cursor wasn't closed during query cancelation.

We have to investigate this and 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)