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.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.0-BETA, 4.0
    • 4.1, 6.0
    • SolrCloud

    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. cloud2.log
          25 kB
          Joel Bernstein
        2. SOLR-3939.patch
          11 kB
          Mark Miller
        3. cloud.log
          14 kB
          Joel Bernstein
        4. SOLR-3939.patch
          11 kB
          Mark Miller

        Issue Links

          Activity

            People

              markrmiller@gmail.com Mark Miller
              jbernste Joel Bernstein
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: