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

merge eats CPU much when there are many deleteByQuery

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • core/index, core/search
    • None
    • New

    Description

      When

      adding very many delete><query>

      Then

      we got CPU spike in merge thread that blocks indexing process

      Considerations

      Despite adding too many <delete><query> is odd itself, I suppose the code can more efficient. See sampling snapshots attached.

      Attachments

        1. Selection_114.png
          25 kB
          Mikhail Khludnev
        2. Selection_115.png
          18 kB
          Mikhail Khludnev
        3. Selection_116.png
          51 kB
          Mikhail Khludnev

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mkhl Mikhail Khludnev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: