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

CloudSolrServer directUpdate routing should use getCoreUrl

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.8.1
    • SolrCloud

    Description

      In a multisharded node environment we were seeing forward-to-leader hops when using CloudSolrServer directUpdate (with the hop being on the same node) . Consequently, there was no improvement in indexing performance over non-directUpdate.

      Changing buildUrlMap to use getCoreUrl eliminated the extra hop and now we see a dramatic improvement in performance.

      Attachments

        1. SOLR-6035.patch
          1 kB
          Marvin Justice
        2. SOLR-6035.patch
          1 kB
          Joel Bernstein

        Activity

          People

            jbernste Joel Bernstein
            Marvin Justice Marvin Justice
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: