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

merge eats CPU much when there are many deleteByQuery

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core/index, core/search
    • Labels:
      None
    • Lucene Fields:
      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_116.png
          51 kB
          Mikhail Khludnev
        2. Selection_115.png
          18 kB
          Mikhail Khludnev
        3. Selection_114.png
          25 kB
          Mikhail Khludnev

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mkhludnev Mikhail Khludnev
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: