[
https://issues.apache.org/jira/browse/SOLR-10146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl updated SOLR-10146:
-------------------------------
Attachment: SOLR-10146.patch
Sorry for the lack of feedback.
Attached is a new patch
* Only display delete button if shard is inactive or uses implicit routing.
This keeps UI cleaner since there is no point in trying an action that will
never succeed.
* Added CHANGES entry
I'll commit this next week if everybody happy clappy
PS: In order to test, I created three collections, one plain, one where I split
a shard to get an inactive one, and a third with implicit routing. Only the
implicit shards and the inactive were showing the button.
> Admin UI: Button to delete a shard
> ----------------------------------
>
> Key: SOLR-10146
> URL: https://issues.apache.org/jira/browse/SOLR-10146
> Project: Solr
> Issue Type: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Admin UI
> Reporter: Jan Høydahl
> Fix For: 6.5, master (7.0)
>
> Attachments: Screenshot-1.png, Screenshot-2.png, SOLR-10146.patch,
> SOLR-10146.patch
>
>
> Currently you can delete a replica through a small red X in the Admin UI
> Collections tab. So you can delete all the replicas inside a shard, but you
> cannot delete the whole shard, i.e. call the DELETESHARD Collection API.
> Add a button for this. This is useful for cleaning up e.g. after calling
> SPLITSHARD.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]