Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12755

Force merge (optimize) should respect distrib=false

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.4
    • Fix Version/s: None
    • Component/s: SolrCloud, update
    • Labels:
      None

      Description

      It would be desirable in a Solr Cloud configuration if a request like:

      update?optimize=true&distrib=false

      only executed on the shard that received the request.

       

      As is well known force merging is a very expensive/disk space hungry operation and hence this increased control should address the following issues:

      Free disk space requirements: 1-2x size of ALL shards on the machine vs 1-2x size of largest shard

      I/O: High disk contention when a machine holds multiple shards as all shards are being simultaneously rewritten

      Availability: All replicas will simultaneously have impaired performance

       

      Relevant previous issue: SOLR-6264

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dan2097 Daniel Lowe
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: