Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-617

Deadlock caused by NativeFSLockFactory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Lucene.Net 4.8.0
    • Lucene.Net 4.8.0
    • Lucene.Net Core
    • None

    Description

      The NativeFSLockFactory is causing the Lucene.Net.Replicator.IndexAndTaxonomyReplicationClientTest::TestConsistencyOnExceptions() test to deadlock on .NET Framework 4.5.1.

      It is also seemingly causing random failures to:

      • Lucene.Net.Store.TestMockDirectoryWrapper::TestDiskFull()

      I have confirmed over 15 test runs that reverting the changes from the following commits eliminates the issue without producing any side effects:

      These include commits were introduced in pull request #222(https://github.com/apache/lucenenet/pull/222) and patches applied to it.

      It is unknown what the impact to consumers of 4.8.0-beta00006 is, but this issue appears to be very rare judging by the tests.

      Attachments

        Activity

          People

            nightowl888 Shad Storhaug
            nightowl888 Shad Storhaug
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: