Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2689

remove NativeFSLockFactory's attempt to acquire a test lock

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 2.9.4, 3.0.3, 3.1, 4.0-ALPHA
    • None
    • None
    • New

    Description

      NativeFSLockFactory tries to acquire a test lock the first time a lock is created. It's the only LF to do this, and, it's caused us hassle (LUCENE-2421, LUCENE-2688).

      I think we should just remove it. The caller of .makeLock will presumably immediately thereafter acquire the lock and at the point hit any exception that acquireTestLock would've hit.

      Attachments

        Issue Links

          Activity

            People

              mikemccand Michael McCandless
              mikemccand Michael McCandless
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: