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

Simplify Directory/lock api

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.3, 6.0
    • None
    • None
    • New

    Description

      See LUCENE-6507 for some background. In general it would be great if you can just acquire an immutable lock (or you get a failure) and then you close that to release it.

      Today the API might be too much for what is needed by IW.

      Attachments

        1. LUCENE-6508-deadcode1.patch
          2 kB
          Uwe Schindler
        2. LUCENE-6508.patch
          46 kB
          Robert Muir
        3. LUCENE-6508.patch
          52 kB
          Uwe Schindler
        4. LUCENE-6508.patch
          130 kB
          Robert Muir
        5. LUCENE-6508.patch
          145 kB
          Robert Muir

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m