RickyMa

Results 168 comments of RickyMa

Ran into this too. I have to keep using the old versions for now.

When `decodeBody` is true, we don't release the `ByteBuf` during decoding. We will release it later in our business codes.

Yes, at least from what I see in the code right now, this should be the logic. So `retain` is not necessary.

If I get this correctly: before decoding --> `refCnt` is `1` after decoding --> `refCnt` is `1` (keep still) business codes call `release()` --> `refCnt` is `0` If you call...

> Does the Netty framework will release the ByteBuf after processing the request? This problem happens occasionally, not every time. If the Netty framework will release the ByteBuf after processing...

It's been a long time. I don't know if the code has already been optimized by @maobaolong in some other way.

OK, I'll keep this PR here. When it is ready, anyone can modify on top of this PR.

@maobaolong I think you can continue working on this PR.

> MR/TEZ don't support Netty now. I hesitate to make it default. @jerqi I think maybe we can merge this now? I've fixed the conflicts btw.

Merged. Thanks for your reviews @jerqi @zhengchenyu @zuston