HoustonPutman commented on issue #506:
URL: https://github.com/apache/solr-operator/issues/506#issuecomment-1554854917

   To sum up the issue, when using backups users sometimes have backups that 
succeed in Solr, but the SolrBackup status has the following two properties:
   - `In Progress: true`
   - `Async Backup Status: notfound`
   
   From what I can discern, there are two possible reasons why the backup isn't 
being "finished" by the Solr Operator:
   
   - The error was never handled when the backup was started. Thus an asyncId 
was never actually created, and why we get "notfound" when querying the status 
of the async command. (This can happen and needs to be fixed)
   - The backup was finished and the Solr operator deleted the asyncId in Solr, 
however the backup status failed to update, and thus on the next iteration of 
the reconcile loop, it could not find the backup status anymore.
   
   Given that the backup succeeded in Solr, the second option is more likely 
for the failures that we are seeing listed here.
   There are issues with the status updates failing because of conflicts.
   But this issue should happen much, much less starting in `v0.7.0` because of 
#544.
   However, given that this is happening to users every single time, I am less 
confident.
   This should happen sporadically, since its a race condition.
   
   I will create a PR that starts to address these issues, so we can have y'all 
test it out and see what works.


-- 
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: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to