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

DATAGO-84852: C-EMA restart resilience for scan jobs #208

Merged
merged 20 commits into from
Oct 24, 2024

Conversation

mynecker
Copy link
Contributor

@mynecker mynecker commented Oct 16, 2024

What is the purpose of this change?

Scan jobs executed by managed EMAs must be resilient to EMA restarts during execution of a scan jobs. Ack'ing of scan job command messages must only happen, after the entire scan job is finished.
To decide, when a scan job is finished a polling mechanism was added to query periodically the ScanManager about the status of a specific scan job.
A dedicated thread pool was added to SolacePersistentMessageHandler to be able to wait for scan jobs to finish and not block further scan jobs.

How was this change implemented?

Java

How was this change tested?

IT tests and end-to-end tests in development environment

Is there anything the reviewers should focus on/be aware of?

Copy link
Contributor

@rudraneel-chakraborty rudraneel-chakraborty left a comment

Choose a reason for hiding this comment

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

Added comments

Copy link

@mynecker mynecker merged commit 5ad78c3 into main Oct 24, 2024
6 checks passed
@mynecker mynecker deleted the mynecker/DATAGO-84852-cema-restart-resilient-scan-job branch October 24, 2024 13:50
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