ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Mashenkov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5986) Fix failed test in .NET suite.
Date Tue, 08 Aug 2017 11:46:00 GMT
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

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

View raw message