You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Per Steffensen (JIRA)" <ji...@apache.org> on 2012/06/21 13:31:42 UTC

[jira] [Created] (SOLR-3562) Data folder not deleted during unload

Per Steffensen created SOLR-3562:
------------------------------------

             Summary: Data folder not deleted during unload
                 Key: SOLR-3562
                 URL: https://issues.apache.org/jira/browse/SOLR-3562
             Project: Solr
          Issue Type: Bug
          Components: multicore, SolrCloud
    Affects Versions: 4.0
         Environment: Same as SOLR-3561
            Reporter: Per Steffensen
            Priority: Minor


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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3562) Data folder not deleted during unload

Posted by "Per Steffensen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400831#comment-13400831 ] 

Per Steffensen commented on SOLR-3562:
--------------------------------------

Nice to hear that you are working on a Collection API for dealing with this kind of stuff. Today in our application we are creating collections by creating numerous individual shards across our cluster of Solr nodes. It would be nice with some API support doing that, especially when we want to delete. Unfortunately we see some problems when we just unload all shards in a collection, in order to "delete" that collection - see SOLR-3561. But I will be watching SOLR-3488. Thanks alot!
                
> Data folder not deleted during unload
> -------------------------------------
>
>                 Key: SOLR-3562
>                 URL: https://issues.apache.org/jira/browse/SOLR-3562
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore, SolrCloud
>    Affects Versions: 4.0
>         Environment: Same as SOLR-3561
>            Reporter: Per Steffensen
>            Assignee: Mark Miller
>            Priority: Minor
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Assigned] (SOLR-3562) Data folder not deleted during unload

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller reassigned SOLR-3562:
---------------------------------

    Assignee: Mark Miller
    
> Data folder not deleted during unload
> -------------------------------------
>
>                 Key: SOLR-3562
>                 URL: https://issues.apache.org/jira/browse/SOLR-3562
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore, SolrCloud
>    Affects Versions: 4.0
>         Environment: Same as SOLR-3561
>            Reporter: Per Steffensen
>            Assignee: Mark Miller
>            Priority: Minor
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3562) Data folder not deleted during unload

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399545#comment-13399545 ] 

Mark Miller commented on SOLR-3562:
-----------------------------------

ill add an option both for the instanceDir and dataDir
                
> Data folder not deleted during unload
> -------------------------------------
>
>                 Key: SOLR-3562
>                 URL: https://issues.apache.org/jira/browse/SOLR-3562
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore, SolrCloud
>    Affects Versions: 4.0
>         Environment: Same as SOLR-3561
>            Reporter: Per Steffensen
>            Assignee: Mark Miller
>            Priority: Minor
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] [Commented] (SOLR-3562) Data folder not deleted during unload

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-3562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399508#comment-13399508 ] 

Mark Miller commented on SOLR-3562:
-----------------------------------

I've add this to the work I did on the collections API - it's needed there for collection removal. Should be committing a first iteration of that soon.
                
> Data folder not deleted during unload
> -------------------------------------
>
>                 Key: SOLR-3562
>                 URL: https://issues.apache.org/jira/browse/SOLR-3562
>             Project: Solr
>          Issue Type: Bug
>          Components: multicore, SolrCloud
>    Affects Versions: 4.0
>         Environment: Same as SOLR-3561
>            Reporter: Per Steffensen
>            Priority: Minor
>
> 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!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org