Andrew Mashenkov updated IGNITE-5986:
    Attachment: ignite.log

PFA log from TC.

I see multiple issues with wrong text queries. Seems, some wildcard queries is 
not supported by Lucene.

We should fix texts as well as close iterator (query cursor) on query failure.

> 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
>            Assignee: Andrew Mashenkov
>              Labels: MakeTeamcityGreenAgain
>             Fix For: 2.2
>         Attachments: Fix_Lucene_index_closing_bug_.patch, ignite.log
> 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

Reply via email to