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

Improve ThriftTransportPool shutdown speed #4561

Conversation

findepi
Copy link
Contributor

@findepi findepi commented May 15, 2024

Wake the "Thrift Connection Pool Checker" thread from sleeping during shutdown, so that it is joined quicker.

@dlmarion
Copy link
Contributor

I think this change could target the 2.1 branch so that it gets included in the next 2.1 patch release.

@findepi
Copy link
Contributor Author

findepi commented May 16, 2024

I think this change could target the 2.1 branch so that it gets included in the next 2.1 patch release.

thanks, will rebase

@findepi findepi force-pushed the findepi/main/improve-thrifttransportpool-shutdown-speed-ed95f8 branch from 70def43 to 395414a Compare May 16, 2024 05:09
@findepi findepi changed the base branch from main to 2.1 May 16, 2024 05:09
@findepi findepi force-pushed the findepi/main/improve-thrifttransportpool-shutdown-speed-ed95f8 branch from 395414a to 88462c7 Compare May 17, 2024 20:01
Copy link
Contributor

@dlmarion dlmarion left a comment

Choose a reason for hiding this comment

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

Looks good

@dlmarion
Copy link
Contributor

@findepi - we have a code formatter that runs as part of our build, and we verify that here, which is currently failing. Running mvn compile should fix the source.

Wake the "Thrift Connection Pool Checker" thread from sleeping during
shutdown, so that it is joined quicker.
@findepi findepi force-pushed the findepi/main/improve-thrifttransportpool-shutdown-speed-ed95f8 branch from 88462c7 to ffb2fb5 Compare May 17, 2024 20:49
@dlmarion
Copy link
Contributor

I kicked off a full IT build for this branch.

@dlmarion
Copy link
Contributor

Full IT build passed successfully

@dlmarion dlmarion merged commit 176ba9e into apache:2.1 May 20, 2024
8 checks passed
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.

None yet

2 participants