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

Remove IndexWriter from DWFlushQueue

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4, 8.0
    • Fix Version/s: 7.4, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      This simplifies DocumentsWriterFlushQueue by moving all IW related
      code out of it. The DWFQ now only contains logic for taking tickets
      off the queue and applying it to a given consumer. The logic now
      entirely resides in IW and has private visitiliby. Locking
      also is more contained since IW knows exactly what is called and when.

        Attachments

        1. LUCENE-8271.patch
          28 kB
          Simon Willnauer

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              simonw Simon Willnauer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: