Skip to content

RATIS-1509. Remove GrpcOutputStream and the related conf GrpcConfigKeys.OutputStream.*#592

Merged
szetszwo merged 2 commits intoapache:masterfrom
szetszwo:RATIS-1509
Jan 27, 2022
Merged

RATIS-1509. Remove GrpcOutputStream and the related conf GrpcConfigKeys.OutputStream.*#592
szetszwo merged 2 commits intoapache:masterfrom
szetszwo:RATIS-1509

Conversation

@szetszwo
Copy link
Contributor

@szetszwo szetszwo requested a review from adoroszlai January 25, 2022 12:47
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.

@szetszwo Instead of removing GrpcOutputStream right away, I think it would be nice to keep it (and its config) around as @Deprecated for at least one more release, referring users to RaftOutputStream. The test can be removed. What do you think?

@szetszwo
Copy link
Contributor Author

@adoroszlai , GrpcOutputStream is not really a public API. It was known to be have bugs since the beginning as reported by RATIS-149. So, I think we should not keep it.

Indeed, the conf was confusing. Someone has mistakenly using GrpcConfigKeys.OutputStream.RETRY_TIMES_KEY in arithmetic.cli.Server and filestoer.cli.Server. It has no effect at all.

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.

was known to be have bugs since the beginning as reported by RATIS-149

I thought RATIS-149 was about the test.

OK, let's remove it. At least it should be mentioned in the release notes.

@szetszwo
Copy link
Contributor Author

Sure. Let me update the title in order to mention the conf.

@szetszwo szetszwo changed the title RATIS-1509. Remove GrpcOutputStream. RATIS-1509. Remove GrpcOutputStream and the related conf GrpcConfigKeys.OutputStream.* Jan 27, 2022
@szetszwo szetszwo merged commit b07ee72 into apache:master Jan 27, 2022
symious pushed a commit to symious/ratis that referenced this pull request Feb 28, 2024
@szetszwo szetszwo deleted the RATIS-1509 branch May 26, 2025 00:17
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.

2 participants