Details
-
Test
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1
Description
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
Attachments
Attachments
Issue Links
- relates to
-
IGNITE-4800 Lucene query may fails with NPE.
- Resolved
- links to