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

SimpleFSLockFactory can not obtain lock correctly.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment