Uh oh!
There was an error while loading. Please reload this page.
RATIS-1847. Stream has memory leak. - #884
Conversation
@guohao-rosicky , could you test if this could fix this memory leak and also the cleanup problem? |
guohao-rosicky
commented
Jun 7, 2023
sure. |
Uh oh!
There was an error while loading. Please reload this page.
hi, @szetszwo By looking at the LEAK log, I'm not sure if the leak was caused by calling ByteBuf::retain here and not calling ByteBuf::release twice. leak log: |
szetszwo
commented
Jun 9, 2023
Do you mean the new LEAK log after applied this change?
Calling ByteBuf::release twice seems incorrect. The second call should triggered an exception. |
guohao-rosicky
commented
Jun 14, 2023
hi, @szetszwo. I have committed the code related to stream cleanup on ozone datanode, I have made some changes please help me to review it, thanks. |
szetszwo
commented
Jun 19, 2023
@guohao-rosicky , how is your testing going? |
guohao-rosicky
commented
Jun 19, 2023
|
adoroszlai
left a comment
There was a problem hiding this comment.
Thanks @szetszwo for the patch. I'm not familiar with Ratis streaming, but the change itself looks good.
szetszwo
commented
Jun 19, 2023
@guohao-rosicky , thanks a lot for testing this! @adoroszlai , thanks a lot for reviewing this! |
See https://issues.apache.org/jira/browse/RATIS-1847