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

LP-2034014: retry on responses with status code equal to 409 #101

Merged

Conversation

r00ta
Copy link
Contributor

@r00ta r00ta commented Sep 7, 2023

This PR aims to retry on MAAS responses with status code equal to 409.

In particular we observed that in some cases it is possible that the client calls MAAS endpoints in parallel and due to some MAAS internals the requests need to be remade by the clients.

Link to the original bug

Link to MAAS core merge proposal to add the Retry-After header in 409 responses

@jujubot
Copy link
Contributor

jujubot commented Sep 7, 2023

Thanks for opening a pull request! Please follow the instructions here to ensure your pull request is ready for review. Then, a maintainer will review your patch.

@hpidcock @anvial

1 similar comment
@jujubot
Copy link
Contributor

jujubot commented Sep 7, 2023

Thanks for opening a pull request! Please follow the instructions here to ensure your pull request is ready for review. Then, a maintainer will review your patch.

@hpidcock @anvial

@r00ta
Copy link
Contributor Author

r00ta commented Sep 11, 2023

@r00ta
Copy link
Contributor Author

r00ta commented Sep 11, 2023

Hi @SimonRichardson , may I get a review on this one? Thank you so much!

@SimonRichardson
Copy link
Member

/build

@SimonRichardson
Copy link
Member

/merge

@jujubot jujubot merged commit 7b1b159 into juju:v2 Sep 11, 2023
@r00ta r00ta mentioned this pull request Sep 14, 2023
1 task
jujubot added a commit to juju/juju that referenced this pull request Sep 18, 2023
#16249

Including the fix committed with juju/gomaasapi#101 and released with v2.1.0

## Checklist

- [x] Code style: imports ordered, good names, simple structure, etc


## Bug reference

https://bugs.launchpad.net/maas/+bug/2034014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants