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

Add options to remove instance dir or data dir on core reload.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-BETA
    • Component/s: multicore, SolrCloud
    • Labels:
      None
    • Environment:

      Same as SOLR-3561

      Description

      Same scanario as SOLR-3561 - deleting shards/cores using CoreAdmin/UNLOAD command.

      I have noticed that when doing CoreAdmin/UNLOAD, the data-folder on disk belonging to the shard/core that has been unloaded is not deleted. I might be ok since the operation is called UNLOAD, but I basically want to delete a shard/core and all data related to it (including its data-folder).

      Dont we have a delete shard/core operation? Or what do I need to do? Do I have to manually delete the data-folder myself after having unloaded?

      A delete-shard/core or even a delete-collection operation would be very nice!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                markrmiller@gmail.com Mark Miller
                Reporter:
                steff1193 Per Steffensen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: