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

IndexWriter.readerPool create new segmentReader outside of sync block

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Won't Fix
    • 2.4.1
    • 4.0-ALPHA
    • core/index
    • None
    • New

    Description

      I think we will want to do something like what field cache does
      with CreationPlaceholder for IndexWriter.readerPool. Otherwise
      we have the (I think somewhat problematic) issue of all other
      readerPool.get* methods waiting for an SR to warm.

      It would be good to implement this for 2.9.

      Attachments

        1. LUCENE-1726.patch
          9 kB
          Jason Rutherglen
        2. LUCENE-1726.patch
          9 kB
          Jason Rutherglen
        3. LUCENE-1726.patch
          13 kB
          Jason Rutherglen
        4. LUCENE-1726.patch
          13 kB
          Jason Rutherglen
        5. LUCENE-1726.trunk.test.patch
          4 kB
          Jason Rutherglen
        6. LUCENE-1726.patch
          18 kB
          Michael McCandless
        7. LUCENE-1726.patch
          39 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 48h
                48h
                Remaining:
                Remaining Estimate - 48h
                48h
                Logged:
                Time Spent - Not Specified
                Not Specified