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 a problem where when a shutdown takes places while the worklaunch… #2305

Merged
merged 1 commit into from Jul 28, 2022

Conversation

gklijs
Copy link
Member

@gklijs gklijs commented Jul 26, 2022

Fix a problem where when a shutdown takes places while the worklauncher is running, the available threads becomes lower than the initial value. This in turn may lead to some segments not being processed.
The change makes sure the available thread count is always increased on cleanup.

Fixes #2293

@gklijs gklijs added Type: Bug Use to signal issues that describe a bug within the system. Priority 2: Should High priority. Ideally, these issues are part of the release they’re assigned to. Status: In Progress Use to signal this issue is actively worked on. labels Jul 26, 2022
@gklijs gklijs added this to the Release 4.5.15 milestone Jul 26, 2022
@gklijs gklijs requested a review from smcvb July 26, 2022 16:00
@gklijs gklijs self-assigned this Jul 26, 2022
@gklijs gklijs marked this pull request as draft July 26, 2022 19:38
@gklijs gklijs marked this pull request as ready for review July 27, 2022 07:28
@gklijs gklijs marked this pull request as draft July 27, 2022 07:56
…er is running, the available threads becomes lower than the initial value.
@sonarcloud
Copy link

sonarcloud bot commented Jul 27, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@gklijs gklijs marked this pull request as ready for review July 27, 2022 10:38
Copy link
Member

@smcvb smcvb left a comment

Choose a reason for hiding this comment

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

Nice work spotting this, @gklijs. Let's ask @nils-christian if he's able to validate whether this version solves the predicament he's spotted. :-)

@gklijs gklijs merged commit c7fb25a into axon-4.5.x Jul 28, 2022
@gklijs gklijs added Status: Resolved Use to signal that work on this issue is done. and removed Status: In Progress Use to signal this issue is actively worked on. labels Jul 28, 2022
@gklijs
Copy link
Member Author

gklijs commented Jul 28, 2022

I'll make sure the new snapshot is available, and post in the related issue for feedback.

@gklijs gklijs deleted the bug/2293 branch July 28, 2022 07:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority 2: Should High priority. Ideally, these issues are part of the release they’re assigned to. Status: Resolved Use to signal that work on this issue is done. Type: Bug Use to signal issues that describe a bug within the system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants