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

LockStressTest fails always with NativeFSLockFactory

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 4.8, 4.9, 6.0
    • core/store
    • None
    • New

    Description

      I was looking at this, because i wanted to remove the static map inside NativeFSLockFactory (no particular reason: it just smells bad, we require java7, and you get overlappingexception as of java6 so its unnecessary).

      Before changing any code, i wanted to run lockstresstest first, just to ensure it works: but it fails always. Simple works fine always.

      Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: lock was double acquired at org.apache.lucene.store.VerifyingLockFactory$CheckedLock.verify(VerifyingLockFactory.java:67)

      Attachments

        1. LUCENE-5612-tester.patch
          2 kB
          Uwe Schindler
        2. LUCENE-5612-tester.patch
          2 kB
          Uwe Schindler
        3. LUCENE-5612-more-sophisticated-crusher.patch
          12 kB
          Uwe Schindler
        4. LUCENE-5612-more-sophisticated-crusher.patch
          12 kB
          Uwe Schindler
        5. LUCENE-5612-more-sophisticated-crusher.patch
          14 kB
          Uwe Schindler
        6. LUCENE-5612-more-sophisticated-crusher.patch
          18 kB
          Uwe Schindler
        7. LUCENE-5612-more-sophisticated-crusher.patch
          18 kB
          Uwe Schindler
        8. LUCENE-5612-more-sophisticated-crusher.patch
          19 kB
          Uwe Schindler
        9. LUCENE-5612-instant-crush.patch
          5 kB
          Robert Muir
        10. LUCENE-5612-instant-crush.patch
          5 kB
          Robert Muir
        11. LUCENE-5612.patch
          6 kB
          Michael McCandless
        12. LUCENE-5612.patch
          8 kB
          Robert Muir
        13. LUCENE-5612.patch
          10 kB
          Uwe Schindler
        14. LUCENE-5612.patch
          14 kB
          Robert Muir
        15. LUCENE-5612.patch
          16 kB
          Robert Muir
        16. LUCENE-5612.patch
          19 kB
          Robert Muir

        Activity

          People

            uschindler Uwe Schindler
            rcmuir Robert Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: