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

DELETESHARD should cleanup the instance and data directory, like DELETEREPLICA

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0, 6.1, 7.0
    • None
    • None

    Description

      DELETESHARD only cleans up the index directory and not the instance/data directory. DELETEREPLICA on the other hand cleans up the data and instance directory.

      DELETESHARD should clean up the instance and data directory, so that we don't leak disk space on executing the command.

      If we think this would break back-compat, though I don't see why this should not clean up the instance dir, we should at least provide an option to clean up everything and make it default in 6.0.

      Attachments

        1. SOLR-8423.patch
          2 kB
          Anshum Gupta
        2. SOLR-8423.patch
          3 kB
          Anshum Gupta
        3. SOLR-8423.patch
          17 kB
          Anshum Gupta

        Activity

          People

            anshum Anshum Gupta
            anshum Anshum Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: