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

MOVEREPLICA command may lose data when replicationFactor==1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.6, 6.7, 7.0
    • 7.0, 8.0
    • SolrCloud
    • None

    Description

      Follow-up to SOLR-10704, a similar scenario occurs in MoveReplicaCmd when replication factor is 1 - the only copy of the source replica may be deleted while the target replica is still recovering.

      Also, even when replicationFactor > 1 but the only remaining replicas are of the PULL type then leader election won't be able to find any replica to become a leader for this shard, which will result in effective data loss for that shard.

      Attachments

        Issue Links

          Activity

            People

              ab Andrzej Bialecki
              ab Andrzej Bialecki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: