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

RATIS-1071. NettyClientRpc supports sendRequestAsync. #1122

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

szetszwo
Copy link
Contributor

@szetszwo szetszwo commented Jul 13, 2024

See RATIS-1071.

This is continuing the work in #204

When merging this pull request, please include "Contributed by Rui Wang and Tsz-Wo Nicholas Sze".

Copy link
Contributor

@adoroszlai adoroszlai left a comment

Choose a reason for hiding this comment

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

Thanks @szetszwo for picking this up. I have a question related to one of the tests, other than that, it looks good.

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

public class TestNettyClientRpcAsync extends BaseTest implements MiniRaftClusterWithNetty.FactoryGet {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to keep this test? According to #204 (comment) it can be removed, since we are also adding TestRaftAsyncWithNetty extends RaftAsyncTests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right. We don't need this test anymore.

@jojochuang
Copy link
Contributor

cc @duongkame @smengcl

Copy link
Member

@SzyWilliam SzyWilliam 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 patch looks good to me.

@szetszwo szetszwo merged commit 7825b4f into apache:master Jul 17, 2024
12 checks passed
@szetszwo
Copy link
Contributor Author

Thanks @adoroszlai and @SzyWilliam for reviewing this!

szetszwo added a commit that referenced this pull request Aug 22, 2024
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.

4 participants