janhoy opened a new pull request, #907:
URL: https://github.com/apache/solr-operator/pull/907

   🤖 AI assisted 🤖
   
   Fixes #848
   
   If Solr accepts a collection backup but the operator never persists 
`InProgress=true` (e.g. it restarts in between), every later reconcile 
resubmits the same async ID, Solr rejects it as a duplicate, and the backup is 
stuck.
   
   The operator now checks the async ID in Solr before submitting:
   
   - `notfound`: submit as before.
   - `submitted` / `running`: adopt the request and poll it.
   - `completed` / `failed`: delete the record and resubmit. Recurring backups 
reuse the async ID, so such a record may belong to an earlier run and must not 
count as this run's result.
   
   Complements #846 (#824), which handles `notfound` while polling.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to