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

Review HouseKeeper locking #5081

Closed
sbordet opened this issue Jul 27, 2020 · 0 comments · Fixed by #5099
Closed

Review HouseKeeper locking #5081

sbordet opened this issue Jul 27, 2020 · 0 comments · Fixed by #5099
Assignees

Comments

@sbordet
Copy link
Contributor

sbordet commented Jul 27, 2020

Spawned by #5083.

Jetty version
9.4.x

Description
Review HouseKeeper locking.
Especially, startScavenging() cannot be called right after stopScavenging() because it needs the call to findScheduler() which is not using any locking.

Concurrent calls to setIntervalSec() should atomically either start or stop the scavenging.

janbartel added a commit that referenced this issue Jul 29, 2020
janbartel added a commit that referenced this issue Jul 29, 2020
Signed-off-by: Jan Bartel <[email protected]>
@janbartel janbartel linked a pull request Jul 29, 2020 that will close this issue
janbartel added a commit that referenced this issue Aug 3, 2020
janbartel added a commit that referenced this issue Aug 4, 2020
Signed-off-by: Jan Bartel <[email protected]>
janbartel added a commit that referenced this issue Aug 5, 2020
* Issue #5081 HouseKeeper synchronization

Signed-off-by: Jan Bartel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants