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

Merges should periodically check for abort

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 9.3
    • None
    • core/index
    • None
    • New

    Description

      Rolling back an IndexWriter without committing shouldn't take long (i.e., less than several seconds), and Elasticsearch cluster coordination relies on this assumption. If some merges are taking place, the rollback can take several minutes as merges only check for abort when writing to files via MergeRateLimiter. Merging a completion field, for example, can take a long time without touching output files. Another reason merges should periodically check for abort is its outputs will be discarded.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dnhatn Nhat Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: