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

MOVEREPLICA command may lose data when replicationFactor==1

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6, 6.7, 7.0
    • Fix Version/s: 7.0, master (8.0)
    • Component/s: SolrCloud
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: