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

Support updateDocument() with DWPTs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Realtime Branch
    • Realtime Branch
    • core/index
    • None
    • New

    Description

      With separate DocumentsWriterPerThreads (DWPT) it can currently happen that the delete part of an updateDocument() is flushed and committed separately from the corresponding new document.

      We need to make sure that updateDocument() is always an atomic operation from a IW.commit() and IW.getReader() perspective. See LUCENE-2324 for more details.

      Attachments

        1. LUCENE-2956.patch
          68 kB
          Simon Willnauer
        2. LUCENE-2956.patch
          76 kB
          Simon Willnauer

        Issue Links

          Activity

            People

              simonw Simon Willnauer
              michaelbusch Michael Busch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: