Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5986

Fix failed test in .NET suite.

    XMLWordPrintableJSON

Details

    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

        1. ignite.log
          5.98 MB
          Andrey Mashenkov

        Issue Links

          Activity

            People

              amashenkov Andrey Mashenkov
              amashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: