-
Notifications
You must be signed in to change notification settings - Fork 153
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
[Bug] msg: Zstd only supports the same type of bytebuffer decompression #1358
Comments
Do you know the managedBuffer is not direct buffer when getting memory by netty? @leixm |
Does this happen when netty is turned on or off? RssShuffleDataIterator line164 will keep uncompressedData the same type as rawData. Why does the above exception still appear? |
Netty is on. |
Is this issue related to |
I found sometimes the bytebuffer is not direct after coverting from netty direct bytebuf using |
@LuciferYang Do you know more about this point? |
…ompress (#1360) ### What changes were proposed in this pull request? precheck bytebuffer whether is direct before uncompress, and rebuild the temp bytebuffer. ### Why are the changes needed? For #1358 . But this PR is not the fundamental solution ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests.
…re uncompress (apache#1360) ### What changes were proposed in this pull request? precheck bytebuffer whether is direct before uncompress, and rebuild the temp bytebuffer. ### Why are the changes needed? For apache#1358 . But this PR is not the fundamental solution ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing tests.
Code of Conduct
Search before asking
Describe the bug
Affects Version(s)
master
Uniffle Server Log Output
No response
Uniffle Engine Log Output
No response
Uniffle Server Configurations
No response
Uniffle Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: