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

DELETEREPLICA and DELETENODE commands should prevent data loss when replicationFactor==1

    XMLWordPrintableJSON

Details

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

    Description

      There should be some level of protection against inadvertent data loss when issuing these commands when replicationFactor is 1 - deleting a node or a replica in this case will be equivalent to completely deleting some shards.

      This is further complicated by the replica types - there could be still remaining replicas after the operation, but if they are all of PULL type then none of them will ever become a shard leader.

      We could require that the command should fail in such case unless a boolean option "force==true" is specified.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: