-
Notifications
You must be signed in to change notification settings - Fork 139
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
feat: support query manager #347
Merged
Merged
Conversation
This file contains 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
Signed-off-by: wtsclwq <lwqcode@foxmail.com>
Signed-off-by: wtsclwq <lwqcode@foxmail.com>
Codecov Report
@@ Coverage Diff @@
## main #347 +/- ##
==========================================
+ Coverage 72.30% 72.37% +0.06%
==========================================
Files 443 444 +1
Lines 92743 93089 +346
==========================================
+ Hits 67062 67377 +315
- Misses 21435 21450 +15
- Partials 4246 4262 +16 |
shilinlee
requested changes
Jul 13, 2023
shilinlee
requested changes
Jul 13, 2023
Signed-off-by: wtsclwq <lwqcode@foxmail.com>
Signed-off-by: wtsclwq <lwqcode@foxmail.com>
Signed-off-by: wtsclwq <lwqcode@foxmail.com>
Signed-off-by: wtsclwq <lwqcode@foxmail.com>
shilinlee
requested changes
Jul 14, 2023
shilinlee
requested changes
Jul 14, 2023
Signed-off-by: wtsclwq <lwqcode@foxmail.com>
shilinlee
requested changes
Jul 14, 2023
shilinlee
requested changes
Jul 17, 2023
Signed-off-by: wtsclwq <lwqcode@foxmail.com>
Signed-off-by: wtsclwq <lwqcode@foxmail.com>
shilinlee
approved these changes
Jul 17, 2023
scuzyj
approved these changes
Jul 17, 2023
wenli7363
pushed a commit
to wenli7363/openGemini
that referenced
this pull request
Aug 4, 2023
Signed-off-by: wtsclwq <lwqcode@foxmail.com> Signed-off-by: wenli7363 <cjy0415@qq.com>
wenli7363
pushed a commit
to wenli7363/openGemini
that referenced
this pull request
Aug 4, 2023
Signed-off-by: wtsclwq <lwqcode@foxmail.com>
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 problem does this PR solve?
Issue Number: close #291 , close #292, close #293
Discussion Number #285
What is changed and how it works?
In previous versions, each sql node assigned a query id from 0, which is not unique under a distributed cluster. In this pull request, all sql nodes can assign a globally unique id to each query statement they receive and support the
SHOW QUERIES
statement under the distributed cluster to display the detailed letter of the all running SQL. Then we can use theKILL QUERY
statement to abort the running statement on the store nodes.How Has This Been Tested?
Simulate some slow queries, and then use
SHOW QUERIES
andKILL QUERY
statements on them.Checklist: