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

fix(controller): fix concurrent updates of monitoring resource status #224

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

basti1302
Copy link
Member

This fixes:
Operation cannot be fulfilled on dash0monitorings.operator.dash0.com "$name":
the object has been modified; please apply your changes to the latest version and try again
after updating a third party resource (Perses dashboard, Prometheus rule) and writing the outcome to the Dash0 monitoring resource status.

Fixed by queuing all sync tasks via a queue that is shared across resource types.

This fixes:
    Operation cannot be fulfilled on dash0monitorings.operator.dash0.com "$name":
    the object has been modified; please apply your changes to the latest version and try again
after updating a third party resource (Perses dashboard, Prometheus
rule) and writing the outcome to the Dash0 monitoring resource status.

Fixed by queuing all sync tasks via a queue that is shared across
resource types.
Copy link

@basti1302 basti1302 enabled auto-merge (rebase) December 17, 2024 13:14
@basti1302 basti1302 merged commit d03892a into main Dec 17, 2024
10 checks passed
@basti1302 basti1302 deleted the queue-third-party-resource-sync-jobs branch December 17, 2024 13:20
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.

1 participant