Solr
  1. Solr
  2. SOLR-5861

Recovery should not set onlyIfLeaderActive=true for slice in 'recovery' state

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.6.1, 4.7
    • Fix Version/s: 4.7.1, 4.8, 6.0
    • Component/s: SolrCloud
    • Labels:
      None

      Description

      RecoveryStrategy.sendPrepRecoveryCmd should exclude slices in 'recovery' state in addition to 'construction' state when setting the onlyIfLeaderActive parameter.

      1. SOLR-5861.patch
        2 kB
        Shalin Shekhar Mangar

        Activity

        Hide
        Shalin Shekhar Mangar added a comment -

        Trivial patch attached.

        Show
        Shalin Shekhar Mangar added a comment - Trivial patch attached.
        Hide
        ASF subversion and git services added a comment -

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

        SOLR-5861: Recovery should not set onlyIfLeaderActive=true for slice in 'recovery' state

        Show
        ASF subversion and git services added a comment - Commit 1577228 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1577228 ] SOLR-5861 : Recovery should not set onlyIfLeaderActive=true for slice in 'recovery' state
        Hide
        ASF subversion and git services added a comment -

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

        SOLR-5861: Recovery should not set onlyIfLeaderActive=true for slice in 'recovery' state

        Show
        ASF subversion and git services added a comment - Commit 1577229 from shalin@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1577229 ] SOLR-5861 : Recovery should not set onlyIfLeaderActive=true for slice in 'recovery' state
        Hide
        Steve Rowe added a comment -

        Shalin Shekhar Mangar, any reason not to backport this to 4.7.1?

        Show
        Steve Rowe added a comment - Shalin Shekhar Mangar , any reason not to backport this to 4.7.1?
        Hide
        Shalin Shekhar Mangar added a comment -

        Thanks for the reminder Steve. I'll backport it to 4.7.1

        Show
        Shalin Shekhar Mangar added a comment - Thanks for the reminder Steve. I'll backport it to 4.7.1
        Hide
        ASF subversion and git services added a comment -

        Commit 1580919 from shalin@apache.org in branch 'dev/branches/lucene_solr_4_7'
        [ https://svn.apache.org/r1580919 ]

        SOLR-5861: Recovery should not set onlyIfLeaderActive=true for slice in 'recovery' state

        Show
        ASF subversion and git services added a comment - Commit 1580919 from shalin@apache.org in branch 'dev/branches/lucene_solr_4_7' [ https://svn.apache.org/r1580919 ] SOLR-5861 : Recovery should not set onlyIfLeaderActive=true for slice in 'recovery' state
        Hide
        Shalin Shekhar Mangar added a comment -

        Backported to 4.7.1

        Show
        Shalin Shekhar Mangar added a comment - Backported to 4.7.1
        Hide
        Steve Rowe added a comment -

        Bulk close 4.7.1 issues

        Show
        Steve Rowe added a comment - Bulk close 4.7.1 issues

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development