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

MOVEREPLICA command may lose data when replicationFactor==1

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6, 6.7, 7.0
    • Fix Version/s: 7.0, 8.0
    • Component/s: SolrCloud
    • 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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment