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

CloudSolrServer directUpdate routing should use getCoreUrl

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.8.1
    • Component/s: SolrCloud
    • Labels:

      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

            • Assignee:
              joel.bernstein Joel Bernstein
              Reporter:
              Marvin Justice Marvin Justice
            • Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: