Repository navigation
Add max_allow_packet check - #17846
Merged
Merged
Conversation
# Conflicts: # pkg/frontend/mysql_buffer.go
daviszhen
suggested changes
Aug 3, 2024
daviszhen
approved these changes
Aug 6, 2024
fengttt
pushed a commit
to fengttt/matrixone
that referenced
this pull request
May 7, 2026
在读取packet时加入了max_allowed_packet判断 复用load local的read 内存 读取短query时不再使用alloc mysql对于big packet 超过max_allowed_packet后会抛错断开连接 当前mo会无限接收,直到OOM 修改后行为与mysql一致 Approved by: @daviszhen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
Which issue(s) this PR fixes:
issue #17960
https://github.com/matrixorigin/MO-Cloud/issues/3733
What this PR does / why we need it:
在读取packet时加入了max_allowed_packet判断
复用load local的read 内存
读取短query时不再使用alloc
mysql对于big packet 超过max_allowed_packet后会抛错断开连接
当前mo会无限接收,直到OOM
修改后行为与mysql一致