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

Reject desired states while update in progress #48

Conversation

stoyan-zoubev
Copy link
Contributor

[#47] Reject new desired state requests while older update operation is still in progress

  • no queuing of desired state requests
  • if a new request comes while an update operation is still in progress, then the new one is rejected with proper error message.
  • test case updated to cover in-progress scenarios

Signed-off-by: Stoyan Zoubev Stoyan.Zoubev@bosch.io

…te operation is still in progress

- no queueing of desired state requests
- if a new requests comes while an update operation is still in progress, then the new one is rejected with proper error message.
- test case updated to cover in-progress scenarios

Signed-off-by: Stoyan Zoubev <Stoyan.Zoubev@bosch.io>
updatem/orchestration/update_manager_test.go Outdated Show resolved Hide resolved
updatem/orchestration/update_manager_test.go Outdated Show resolved Hide resolved
updatem/orchestration/update_manager_test.go Outdated Show resolved Hide resolved
Signed-off-by: Stoyan Zoubev <Stoyan.Zoubev@bosch.io>
@dimitar-dimitrow dimitar-dimitrow merged commit b1230d7 into eclipse-kanto:main Oct 20, 2023
2 checks passed
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.

Update Manager to reject new desired state requests while older update operation is still in progress
3 participants