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

Avoid race conditions between API use and background processes #64

Closed
timbru opened this issue Aug 20, 2019 · 1 comment
Closed

Avoid race conditions between API use and background processes #64

timbru opened this issue Aug 20, 2019 · 1 comment

Comments

@timbru
Copy link
Contributor

timbru commented Aug 20, 2019

Probably use a queue for commands, and some notification mechanism (polling?) to know when a command is done.

This should also help future multi-node setups. Essentially we want to be sure that commands for a specific CA are processed in order.

For the pilot release it's not a huge deal if the occasional command fails because it's trying to update an out-of-date CA, because the command will just be tried again.

Still, this should be solved for 1.0

@timbru
Copy link
Contributor Author

timbru commented Feb 25, 2020

Seems to have been caused by a double trigger of requesting entitlements when parents were added. Fixed in 0.5.0

@timbru timbru closed this as completed Feb 25, 2020
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

No branches or pull requests

1 participant