Solr
  1. Solr
  2. SOLR-5568

A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active.

    Details

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

      Description

      This is a problem on cluster startup for one, and a little scary with stale cluster state for another. I thought I had removed it before.

        Issue Links

          Activity

          Hide
          ASF subversion and git services added a comment -

          Commit 1553031 from Mark Miller in branch 'dev/trunk'
          [ https://svn.apache.org/r1553031 ]

          SOLR-5552: Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered.
          SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE.
          SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active.

          Show
          ASF subversion and git services added a comment - Commit 1553031 from Mark Miller in branch 'dev/trunk' [ https://svn.apache.org/r1553031 ] SOLR-5552 : Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered. SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE. SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active.
          Hide
          ASF subversion and git services added a comment -

          Commit 1553034 from Mark Miller in branch 'dev/branches/branch_4x'
          [ https://svn.apache.org/r1553034 ]

          SOLR-5552: Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered.
          SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE.
          SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active.

          Show
          ASF subversion and git services added a comment - Commit 1553034 from Mark Miller in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1553034 ] SOLR-5552 : Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered. SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE. SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active.
          Hide
          ASF subversion and git services added a comment -

          Commit 1553970 from Mark Miller in branch 'dev/trunk'
          [ https://svn.apache.org/r1553970 ]

          SOLR-5552: Add CHANGES entry
          SOLR-5569: Add CHANGES entry
          SOLR-5568: Add CHANGES entry

          Show
          ASF subversion and git services added a comment - Commit 1553970 from Mark Miller in branch 'dev/trunk' [ https://svn.apache.org/r1553970 ] SOLR-5552 : Add CHANGES entry SOLR-5569 : Add CHANGES entry SOLR-5568 : Add CHANGES entry
          Hide
          ASF subversion and git services added a comment -

          Commit 1553971 from Mark Miller in branch 'dev/branches/branch_4x'
          [ https://svn.apache.org/r1553971 ]

          SOLR-5552: Add CHANGES entry
          SOLR-5569: Add CHANGES entry
          SOLR-5568: Add CHANGES entry

          Show
          ASF subversion and git services added a comment - Commit 1553971 from Mark Miller in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1553971 ] SOLR-5552 : Add CHANGES entry SOLR-5569 : Add CHANGES entry SOLR-5568 : Add CHANGES entry
          Hide
          ASF subversion and git services added a comment -

          Commit 1553973 from Mark Miller in branch 'dev/branches/lucene_solr_4_6'
          [ https://svn.apache.org/r1553973 ]

          SOLR-5552: Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered.
          SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE.
          SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active.

          Show
          ASF subversion and git services added a comment - Commit 1553973 from Mark Miller in branch 'dev/branches/lucene_solr_4_6' [ https://svn.apache.org/r1553973 ] SOLR-5552 : Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered. SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE. SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active.
          Hide
          ASF subversion and git services added a comment -

          Commit 1553978 from Mark Miller in branch 'dev/branches/lucene_solr_4_6'
          [ https://svn.apache.org/r1553978 ]

          SOLR-5552: Add CHANGES entry
          SOLR-5569: Add CHANGES entry
          SOLR-5568: Add CHANGES entry

          Show
          ASF subversion and git services added a comment - Commit 1553978 from Mark Miller in branch 'dev/branches/lucene_solr_4_6' [ https://svn.apache.org/r1553978 ] SOLR-5552 : Add CHANGES entry SOLR-5569 : Add CHANGES entry SOLR-5568 : Add CHANGES entry

            People

            • Assignee:
              Mark Miller
              Reporter:
              Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development