Skip to content

Conversation

@symious
Copy link
Contributor

@symious symious commented Nov 25, 2024

What changes were proposed in this pull request?

On exception, the resource is released once in replyDataStreamException.

And it will be released again in "finally".

What is the link to the Apache JIRA

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

How was this patch tested?

Local pressure tests.

@szetszwo
Copy link
Contributor

@symious , in DataStreamRequestByteBuf.release(), it make sure that the underlying buf is released only once.

@symious symious closed this Dec 2, 2024
@symious
Copy link
Contributor Author

symious commented Dec 2, 2024

@symious , in DataStreamRequestByteBuf.release(), it make sure that the underlying buf is released only once.

@szetszwo Thanks for your reminder.

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