Skip to content

RATIS-2035. Refactor streaming code for Read.#1046

Merged
adoroszlai merged 5 commits intoapache:masterfrom
szetszwo:RATIS-2035
Mar 7, 2024
Merged

RATIS-2035. Refactor streaming code for Read.#1046
adoroszlai merged 5 commits intoapache:masterfrom
szetszwo:RATIS-2035

Conversation

@szetszwo
Copy link
Contributor

*/
public interface DataStreamServerRpc extends ServerRpc, RaftPeer.Add, Closeable {
@Override
void start();
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 need to keep this function as ServerRpc already has one?

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 that we can remove it, although this signature in this one is different -- it does not throws IOException.

Copy link
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

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

LGTM~
The code becomes much clearer ~

@szetszwo szetszwo requested a review from adoroszlai March 6, 2024 19:31
@adoroszlai adoroszlai merged commit df436c7 into apache:master Mar 7, 2024
@adoroszlai
Copy link
Contributor

Thanks @szetszwo for the patch, @OneSizeFitsQuorum for the review.

@szetszwo
Copy link
Contributor Author

szetszwo commented Mar 7, 2024

@adoroszlai , thanks a lot for reviewing and merging this!

@szetszwo
Copy link
Contributor Author

szetszwo commented Mar 7, 2024

@OneSizeFitsQuorum , thank you also for reviewing this!

symious pushed a commit to symious/ratis that referenced this pull request Apr 9, 2024
szetszwo added a commit to szetszwo/ratis that referenced this pull request Jun 16, 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.

3 participants