lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amrit Sarkar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-10146) Admin UI: Button to delete a shard
Date Sun, 19 Feb 2017 13:29:44 GMT

    [ https://issues.apache.org/jira/browse/SOLR-10146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15873699#comment-15873699
] 

Amrit Sarkar commented on SOLR-10146:
-------------------------------------

Hey Jon,

SOLR-10146.patch is uploaded incorporating a delete (X) button alongside the shard name in
http://[solr-host]:[solr-port]/solr/#/~collections/[collection-name]
[Screenshot-1]

Changes made in:
	1.   solr/webapp/web/css/angular/collections.css
	2.   solr/webapp/web/js/angular/controllers/collections.js
	3.   solr/webapp/web/js/angular/services.js
	4.   solr/webapp/web/partials/collections.html

As you are aware, a shard cannot be deleted when it is active, hence it will throw error if
we try to do so.
[Screenshot-2]

Let me know if this suffice the use-case here.

> 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
>         Attachments: 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message