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-2227. LogEntryProto leak in SegmentedRaftLog #1199

Merged
merged 1 commit into from
Dec 25, 2024

Conversation

jianghuazhu
Copy link
Contributor

What changes were proposed in this pull request?

When GrpcLogAppender sends logEntry to Follower, if an exception is encountered, some leaks will occur.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-2227

How was this patch tested?

ci: https://github.com/jianghuazhu/ratis/actions/runs/12492897006

@jianghuazhu
Copy link
Contributor Author

10x10 Testing:
https://github.com/jianghuazhu/ratis/actions/runs/12493106983

TestRaftWithGrpc looks to be working fine so far.
@szetszwo @adoroszlai , can you take a look?

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.

@szetszwo
Copy link
Contributor

TestRaftWithGrpc looks to be working fine so far.

Yes, it looks great!

@szetszwo szetszwo merged commit accb612 into apache:master Dec 25, 2024
13 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.

2 participants