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

SolrCmdDistributor drops some of the important commit attributes (maxOptimizeSegments, softCommit, expungeDeletes) when sending a commit to replicas.

    XMLWordPrintableJSON

Details

    Description

      Send the following command to a Solr server with many segments in a multi-shard, multi-server environment:

      curl "http://localhost:8080/solr/update?optimize=true&waitFlush=true&maxSegments=6&distrib=false"

      The local server will end up with the number of segments at 6, as requested, but all other shards in the index will be optimized with maxSegments=1, which takes far longer to complete. All shards should be optimized to the requested value of 6.

      Attachments

        Activity

          People

            markrmiller@gmail.com Mark Miller
            clavius Andy Laird
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: