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

SimpleFSLockFactory can not obtain lock correctly.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Obtain method of SimpleFSLockFactory uses "lockFile.Create()" method to get a lock(lockFile is of type Fileinfo)
      but FileInfo class does not raise an exception if can not create the file. So two IndexWriters access the same index.

      (nunit test --> TestLockFactory.TestDefaultFSDirectory)

      Attachments

        Activity

          People

            georgearoush George Aroush
            digydigy Digy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: