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

An empty or just replicated index cannot become the leader of a shard after a leader goes down.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.0-BETA, 4.0
    • Fix Version/s: 4.1, 6.0
    • Component/s: SolrCloud
    • Labels:

      Description

      When a leader core is unloaded using the core admin api, the followers in the shard go into recovery but do not come out. Leader election doesn't take place and the shard goes down.

      This effects the ability to move a micro-shard from one Solr instance to another Solr instance.

      The problem does not occur 100% of the time but a large % of the time.

      To setup a test, startup Solr Cloud with a single shard. Add cores to that shard as replicas using core admin. Then unload the leader core using core admin.

        Attachments

        1. SOLR-3939.patch
          11 kB
          Mark Miller
        2. cloud.log
          14 kB
          Joel Bernstein
        3. SOLR-3939.patch
          11 kB
          Mark Miller
        4. cloud2.log
          25 kB
          Joel Bernstein

          Issue Links

            Activity

              People

              • Assignee:
                markrmiller@gmail.com Mark Miller
                Reporter:
                joel.bernstein Joel Bernstein
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: