-
Notifications
You must be signed in to change notification settings - Fork 154
executor: add BroadcastQuery type and update ExecType enum #370
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
Conversation
698aafb to
ad14d85
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new broadcast query type to the executor proto and updates the ExecType enum to support distributing SQL commands across TiDB nodes.
- Added a new ExecType enum value "TypeBroadcastQuery".
- Updated the Executor message to include an optional BroadcastQuery field.
- Added a new BroadcastQuery message with a query string field.
0xPoe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔢 Self-check (PR reviewed by myself and ready for feedback)
/cc @time-and-fate
Signed-off-by: 0xPoe <techregister@pm.me>
…ptorProto size - Updated the descriptor index for BroadcastQuery from 35 to 34. - Replaced the gzipped FileDescriptorProto with a new version, increasing its size from 5470 bytes to 5513 bytes. Signed-off-by: 0xPoe <techregister@pm.me>
…unction - Increased the gzipped FileDescriptorProto size from 5452 bytes to 5497 bytes. - Removed unnecessary conflict markers and cleaned up the init function. Signed-off-by: 0xPoe <techregister@pm.me>
What problem does this PR solve?
ref pingcap/tidb#61273
Problem Summary:
What is changed and how it works?
Proposal: pingcap/tidb#61330
What's Changed:
Added a new BroadcastQuery type to help TiDB stats and plan cache modules distribute SQL commands across different TiDB nodes in the cluster.
How it Works:
Related changes
None