-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
*: push order to partition table and configure concurrency for auto analyze #38722
*: push order to partition table and configure concurrency for auto analyze #38722
Conversation
commit 51853c7 Author: Yiding Cui <winoros@gmail.com> Date: Fri Oct 28 11:25:16 2022 +0800 fix commit bdf9854 Merge: 27324cb fb6a131 Author: Yiding Cui <winoros@gmail.com> Date: Fri Oct 28 11:08:16 2022 +0800 Merge branch 'master' into part-table-topn commit 27324cb Author: Yiding Cui <winoros@gmail.com> Date: Sun Aug 28 22:55:37 2022 +0800 fix test commit 174254c Merge: 4b00f0a a8f524b Author: Yiding Cui <winoros@gmail.com> Date: Sun Aug 28 22:24:10 2022 +0800 Merge branch 'master' into part-table-topn commit 4b00f0a Merge: 027eca6 5006949 Author: Yiding Cui <winoros@gmail.com> Date: Sun Aug 28 15:10:27 2022 +0800 Merge remote-tracking branch 'yiding/part-table-topn' into part-table-topn commit 027eca6 Author: Yiding Cui <winoros@gmail.com> Date: Sun Aug 28 15:09:58 2022 +0800 fix tests commit 5006949 Merge: 0575b4c 2858bc1 Author: Yiding Cui <winoros@gmail.com> Date: Fri Aug 26 15:32:26 2022 +0800 Merge branch 'master' into part-table-topn commit 0575b4c Author: Yiding Cui <winoros@gmail.com> Date: Fri Aug 26 15:06:33 2022 +0800 fix lint commit af0cf54 Merge: 2bc49ff b99aebe Author: Yiding Cui <winoros@gmail.com> Date: Fri Aug 26 14:48:26 2022 +0800 Merge branch 'master' into part-table-topn commit 2bc49ff Author: Yiding Cui <winoros@gmail.com> Date: Wed Jul 20 17:30:06 2022 +0800 fix make check commit f940c71 Author: Yiding Cui <winoros@gmail.com> Date: Wed Jul 20 17:23:51 2022 +0800 make sure that the request is sent first by partition then by region commit 423f599 Author: Yiding Cui <winoros@gmail.com> Date: Wed Jul 20 01:40:45 2022 +0800 add tests commit 6ccdc30 Merge: 9f57b9c 39bca97 Author: Yiding Cui <winoros@gmail.com> Date: Tue Jul 19 19:53:20 2022 +0800 Merge remote-tracking branch 'yiding/part-table-topn' into part-table-topn commit 9f57b9c Author: Yiding Cui <winoros@gmail.com> Date: Tue Jul 19 01:08:00 2022 +0800 address comments commit 896a4e0 Merge: 2c08dde 4cade24 Author: Yiding Cui <winoros@gmail.com> Date: Mon Jul 18 17:47:49 2022 +0800 Merge branch 'master' into part-table-topn commit 39bca97 Merge: 2c08dde a33d971 Author: Weizhen Wang <wangweizhen@pingcap.com> Date: Sat Jul 16 11:27:13 2022 +0800 Merge branch 'master' into part-table-topn commit 2c08dde Author: Yiding Cui <winoros@gmail.com> Date: Wed Jul 13 20:30:23 2022 +0800 add tests commit 3106166 Author: Yiding Cui <winoros@gmail.com> Date: Mon Jul 11 23:13:22 2022 +0800 fix fmt commit 3993e00 Author: Yiding Cui <winoros@gmail.com> Date: Mon Jul 11 23:12:00 2022 +0800 planner: support push part of order property to partition table commit 7c9e327 Author: Yiding Cui <winoros@gmail.com> Date: Thu Jul 7 17:37:59 2022 +0800 planner: support push part of order property down to the partition table
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
autoConcurrency, err1 := sctx.GetSessionVars().GetSessionOrGlobalSystemVar(variable.TiDBAutoBuildStatsConcurrency) | ||
terror.Log(err1) | ||
if err1 == nil { | ||
terror.Log(sctx.GetSessionVars().SetSystemVar(variable.TiDBBuildStatsConcurrency, autoConcurrency)) | ||
} | ||
sVal, err2 := sctx.GetSessionVars().GetSessionOrGlobalSystemVar(variable.TiDBSysProcScanConcurrency) | ||
terror.Log(err2) | ||
if err2 == nil { | ||
concurrency, err3 := strconv.ParseInt(sVal, 10, 64) | ||
terror.Log(err3) | ||
sctx.GetSessionVars().SetDistSQLScanConcurrency(int(concurrency)) | ||
} |
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.
Seems this location is wrong. It should replace the original SetDistSQLScanConcurrency
.
/merge |
This pull request has been accepted and is ready to merge. Commit hash: c337fc9
|
What problem does this PR solve?
Issue Number: ref #36108 and #37078
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.