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

Amrit Sarkar edited comment on SOLR-10201 at 2/25/17 3:49 PM:
--------------------------------------------------------------

[~erickerickson] [~upayavira]

SOLR-10201.patch uploaded introducing collections.js::asyncRequestStatus, 
incorporated to collections.js::addCollection.

In this patch:
{noformat}
        modified:   solr/webapp/web/js/angular/controllers/collections.js
        modified:   solr/webapp/web/js/angular/services.js
{noformat}
Handled *success* for addCollection async call, need to check where to display 
fails, unresponsiveness etc.
Performance hit: taking more time than sync call (approx 1-3 sec on local 
machine) to display the new collection added.

To do:
1. New display box for success/failure/unresponsiveness or stick with the red 
colored error we receive on the top?
2. Add SPLITSHARD button along the shard name, as we now have async calls fn 
for collections api, open new jira for the same?
3. DELETESHARD button: SOLR-10146

Looking forward to the feedback.


was (Author: sarkaramr...@gmail.com):
[~erickerickson] [~upayavira]

SOLR-10201.patch uploaded introducing collections.js::asyncRequestStatus, 
incorporated to collections.js::addCollection.

In this patch:
{noformat}
        modified:   solr/webapp/web/js/angular/controllers/collections.js
        modified:   solr/webapp/web/js/angular/services.js
{noformat}
Handled *success* for addCollection async call, need to check where to display 
fails, unresponsiveness etc.

To do:
1. New display box for success/failure/unresponsiveness or stick with the red 
colored error we receive on the top?
2. Add SPLITSHARD button along the shard name, as we now have async calls fn 
for collections api, open new jira for the same?
3. DELETESHARD button: SOLR-10146

Looking forward to the feedback.

> Admin UI: Add Collection "creates collection", "Connection to Solr lost", 
> when replicationFactor>1
> --------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-10201
>                 URL: https://issues.apache.org/jira/browse/SOLR-10201
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Admin UI
>    Affects Versions: 6.2
>            Reporter: Amrit Sarkar
>         Attachments: screenshot-1.png, SOLR-10201.patch
>
>
> "Add Collection" fails miserably when replicationFactor >1.
> There must be a better way to handle the request we are making through JS.
> PF screenshot.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to