Done! https://issues.apache.org/jira/browse/SOLR-7481
On Tue, Apr 28, 2015 at 11:09 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > This is a bug. Can you please open a Jira issue? > > On Tue, Apr 28, 2015 at 8:35 PM, Ian Rose <ianr...@fullstory.com> wrote: > > > Is it possible to run DELETESHARD commands in async mode? Google > searches > > seem to indicate yes, but not definitively. > > > > My local experience indicates otherwise. If I start with an async > > SPLITSHARD like so: > > > > > > > http://localhost:8983/solr/admin/collections?action=splitshard&collection=2Gp&shard=shard1_0_0&async=12-foo-1 > > > > Then I get back the expected response format, with <str name="requestid"> > > 12-foo-1</str> > > > > And I can later query for the result via REQUESTSTATUS. > > > > However if I try an async DELETESHARD like so: > > > > > > > http://localhost:8983/solr/admin/collections?action=deleteshard&collection=2Gp&shard=shard1_0_0&async=12-foo-4 > > > > The response includes the command result, indicating that the command was > > not run async: > > > > <lst name="success"> > > <lst name="192.168.1.106:8983_solr"> > > <lst name="responseHeader"> > > <int name="status">0</int> > > <int name="QTime">16</int> > > </lst> > > </lst> > > </lst> > > > > And in addition REQUESTSTATUS calls for that requestId fail with "Did not > > find taskid [12-foo-4] in any tasks queue". > > > > Synchronous deletes are causing problems for me in production as they are > > timing out in some cases. > > > > Thanks, > > Ian > > > > > > p.s. I'm on version 5.0.0 > > > > > > -- > Regards, > Shalin Shekhar Mangar. >