Solr
  1. Solr
  2. SOLR-5421

Fix processAdd method in DistributedUpdateProcessor

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.5, 4.5.1
    • Fix Version/s: 4.7, 5.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      The processAdd method in DistributedUpdateProcessor sets "distrib.from" in all cases. That shouldn't be the case.

      It should only be set in case the it's a leader/sub-shard leader.

      1. SOLR-5421.patch
        0.6 kB
        Anshum Gupta

        Activity

        Hide
        ASF subversion and git services added a comment -

        Commit 1542177 from shalin@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1542177 ]

        SOLR-5421: Remove double set of distrib.from param in processAdd method of DistributedUpdateProcessor

        Show
        ASF subversion and git services added a comment - Commit 1542177 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1542177 ] SOLR-5421 : Remove double set of distrib.from param in processAdd method of DistributedUpdateProcessor
        Hide
        ASF subversion and git services added a comment -

        Commit 1542178 from shalin@apache.org in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1542178 ]

        SOLR-5421: Remove double set of distrib.from param in processAdd method of DistributedUpdateProcessor

        Show
        ASF subversion and git services added a comment - Commit 1542178 from shalin@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1542178 ] SOLR-5421 : Remove double set of distrib.from param in processAdd method of DistributedUpdateProcessor
        Hide
        Shalin Shekhar Mangar added a comment -

        Thanks Anshum!

        Show
        Shalin Shekhar Mangar added a comment - Thanks Anshum!

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Anshum Gupta
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development