Skip to content

RATIS-2227. LogEntryProto leak in SegmentedRaftLog#1199

Merged
szetszwo merged 1 commit intoapache:masterfrom
jianghuazhu:RATIS-2227
Dec 25, 2024
Merged

RATIS-2227. LogEntryProto leak in SegmentedRaftLog#1199
szetszwo merged 1 commit intoapache:masterfrom
jianghuazhu:RATIS-2227

Conversation

@jianghuazhu
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor

TestRaftWithGrpc looks to be working fine so far.

Yes, it looks great!

@szetszwo szetszwo merged commit accb612 into apache:master Dec 25, 2024
slfan1989 pushed a commit to slfan1989/ratis that referenced this pull request May 6, 2026
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