Yes, the async command returns, and then I poll with REQUESTSTATUS. On 27 June 2017 at 01:24, Varun Thacker <va...@vthacker.in> wrote:
> Hi Damien, > > A backup command with async is supposed to return early. It is start the > backup process and return. > > Are you using the REQUESTSTATUS ( > http://lucene.apache.org/solr/guide/6_6/collections-api. > html#collections-api > ) API to validate if the backup is complete? > > On Sun, Jun 25, 2017 at 10:28 PM, Damien Kamerman <dami...@gmail.com> > wrote: > > > I've noticed an issue with the Solr 6.5.1 Collections API BACKUP async > > command returning early. The state is finished well before one shard is > > finished. > > > > The collection I'm backing up has 12 shards across 6 nodes and I suspect > > the issue is that it is not waiting for all backups on the node to > finish. > > > > Alternatively, I if I change the request to not be async it works OK but > > sometimes I get the exception "backup the collection time out:180s". > > > > Has anyone seen this, or knows a workaround? > > > > Cheers, > > Damien. > > >