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

Revert "HDDS-10384. RPC client Reusing thread resources. (#6270)" #6277

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

This reverts commit 84c6e4d, because it introduced flakiness in the write path.

How was this patch tested?

Checked repeated test runs before HDDS-10384, with HDDS-10384 and after reverting it. Write tests like TestFreonWithPipelineDestroy, TestSecureOzoneRpcClient#testPutKeyRatisThreeNodesParallel etc. fail frequently with HDDS-10384, pass before that and after revert.

HDDS-10384 failing: https://github.com/adoroszlai/ozone/actions/runs/8050504234
revert passing: https://github.com/adoroszlai/ozone/actions/runs/8052736373

Copy link
Contributor

@szetszwo szetszwo left a comment

Choose a reason for hiding this comment

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

+1 the change looks good.

@adoroszlai , thanks a lot for submitting this pull request!

@xichen01 , we should see why the tests are failing. It might be due to shutdownNow(). Previously, responseExecutor won't be shut down until it has finished.

Copy link
Contributor

@xichen01 xichen01 left a comment

Choose a reason for hiding this comment

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

LGTM +1. I will check these failed tests and recreate a new PR.

@xichen01
Copy link
Contributor

+1 the change looks good.

@adoroszlai , thanks a lot for submitting this pull request!

@xichen01 , we should see why the tests are failing. It might be due to shutdownNow(). Previously, responseExecutor won't be shut down until it has finished.

Yes, maybe some xxx.close() in the tests cause the thread pool to close, then these tests may fail.

@adoroszlai adoroszlai merged commit 083a45e into apache:master Feb 27, 2024
35 checks passed
@adoroszlai adoroszlai deleted the revert-HDDS-10384 branch February 27, 2024 07:29
@adoroszlai
Copy link
Contributor Author

Thanks @szetszwo, @xichen01 for the review.

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