Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA-389319: Wait and retry for GET_UPDATES_IN_PROGRESS #5617

Merged
merged 1 commit into from
May 8, 2024

Commits on May 8, 2024

  1. 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.
    
    With the change, the "GET_UPDATES_IN_PROGRESS" will not be an error
    exposed to users any more. Therefore it is removed.
    
    Signed-off-by: Ming Lu <ming.lu@cloud.com>
    minglumlu committed May 8, 2024
    Configuration menu
    Copy the full SHA
    7d5d08b View commit details
    Browse the repository at this point in the history