Skip to content

Conversation

@AOA-Mohammed
Copy link
Contributor

Added logging for Maestro initialization status and handled cases for reinitializing it more than once.

Description

Maestro can only be intialized once from the same process. Upon trying to initializing maestro more than once, maestro returns status "MSTRO_NOT_TWICE". MaestroSink component should be able to handle this status correctly and continue working normally as this indicates maestro is already initialized and ready to work.

Fixes issue #200

Added logging for Maestro initialization status and handled cases for reinitializing it more than once.
Copy link
Member

@tweska tweska left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you can confirm my understanding is correct, then this looks fine to me.

Thank you for the fix!

Edit: Already confirmed in #200 (comment)

@dsarmany dsarmany self-requested a review December 17, 2025 09:31
@AOA-Mohammed
Copy link
Contributor Author

@dsarmany @tweska Thanks for approving the PR. I see there is some errors in CI with some missing tokens. I am not sure who should resolve these to merge the changes.

@dsarmany dsarmany merged commit 8b3c1d1 into ecmwf:develop Jan 6, 2026
26 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants