Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CA-389319: Wait and retry for GET_UPDATES_IN_PROGRESS
The query on HTTP endpoint /updates will return the available updates in JSON format. Prior to the changes in this commit, if a query arrives when another query is being handled, a "GET_UPDATES_IN_PROGRESS" error will be returned immediately. This behaviour is not friendly to GUI client XenCenter. In this commit, the behaviour is changed to wait and retry in handling the query in xapi since the "*_IN_PROGGRESS" error is a transient failure. Tolerating it in xapi (server) side avoids error handling in client side. Signed-off-by: Ming Lu <[email protected]>
- Loading branch information