Commit Graph

5512 Commits

Author SHA1 Message Date
c996d6437f flashback: retry getStoreGlobalMinSafeTS during execute flashback (#41100)
close pingcap/tidb#41086
2023-02-07 12:35:58 +08:00
833e0b9151 executor: use const varialbe for index merge handleWorkerPanic (#41066)
close pingcap/tidb#41065
2023-02-07 06:49:57 +08:00
00d48f90e6 *: update util/tracing and remove repeated code (#40825)
close pingcap/tidb#40809
2023-02-06 22:35:58 +08:00
191503599a executor: fix plan replayer dump for tpcds q97 (#41088)
close pingcap/tidb#41064
2023-02-06 21:45:58 +08:00
e5477b87d3 *: fix the sysvar value may be corrupted after set by subquery (#41003)
close pingcap/tidb#40979
2023-02-06 11:19:56 +08:00
bc2c1b229d executor: fix IndexMerge handle panic logic (#41036)
close pingcap/tidb#41047
2023-02-05 15:39:56 +08:00
975d177286 *: add resource group name into information_schema.processlist (#40739)
close pingcap/tidb#40724
2023-02-03 22:23:56 +08:00
98c22c1e32 statistics: use histogram count rather than realtime count to calculate stats healthy (#41031) 2023-02-03 16:11:57 +08:00
07af605381 *: add memory tracker for mppIterator (#40901)
close pingcap/tidb#40900
2023-02-02 16:53:57 +08:00
04f9b3c150 *: add UseAutoScaler config to disable AutoScaler (#40966)
close pingcap/tidb#40971
2023-02-02 16:11:56 +08:00
f0575a847b *: unify wru,rru to ru (#40884)
close pingcap/tidb#40883
2023-02-02 11:47:56 +08:00
f1a744a3e6 planner: add MppVersion for mpp task; support data compression in Exchange Operator; (#40132)
ref pingcap/tiflash#6620, close pingcap/tidb#40494
2023-02-02 11:11:56 +08:00
34516a377a br: disable foreign key check when br create table (#40951)
close pingcap/tidb#40952
2023-02-01 21:21:56 +08:00
95f4d0de27 planner: supply test cases for param limit in plan cache (#40868)
ref pingcap/tidb#40219
2023-02-01 20:53:56 +08:00
d28a8d84b5 *: support MockAutoScaler and AWSAutoScaler (#40729)
close pingcap/tidb#40747
2023-02-01 19:11:56 +08:00
01b231015a admin: support cleanup multi-valued index (#40428)
close pingcap/tidb#40427
2023-02-01 18:27:56 +08:00
bdc2f1b22f handle: support fallback for dump historical stats (#40889)
close pingcap/tidb#40890
2023-02-01 17:47:56 +08:00
d6302c1144 executor: Fix tidb crash on index merge reader (#40904)
close pingcap/tidb#40877
2023-02-01 14:33:56 +08:00
05edfd4a7d planner: fix HashAgg cannot pushdown to tiflash_compute (#40828)
close pingcap/tidb#40717
2023-01-31 16:17:54 +08:00
91686a3060 executor: add historical stats test and make it enabled (#40664) 2023-01-30 21:45:54 +08:00
86a6694de0 bindInfo: fix datarace on bindings (#40846)
close pingcap/tidb#40843
2023-01-30 19:59:55 +08:00
fd5e67581b planner: add a switch control if prepare stmt with param limit can be cached (#40712)
ref pingcap/tidb#40219
2023-01-30 12:01:54 +08:00
fe4a81df82 sessionctx: add validation for tidb_enable_plan_replayer_continues_capture (#40787) 2023-01-29 17:15:54 +08:00
4686338d0e ttl: add table mysql.ttl_job_history to store ttl job histories (#40655)
close pingcap/tidb#40654
2023-01-29 10:19:53 +08:00
26ca0401d9 executor: add foreign key and session variable test (#40785)
close pingcap/tidb#40784
2023-01-28 19:13:53 +08:00
55361cf75c linter: find inappropriate key in call to context.WithValue (#40769)
close pingcap/tidb#40796
2023-01-28 18:03:53 +08:00
bca433fcab planner: remove pickFromBucket field in LRUPlanCache (#40668)
ref pingcap/tidb#36598
2023-01-28 16:41:53 +08:00
76153ab9ff lint: update config of deprecated linter (#40763)
ref pingcap/tidb#40786
2023-01-28 11:57:53 +08:00
de856d9354 store/copr: move row hint into key range (#40105)
ref pingcap/tidb#39361
2023-01-19 22:57:50 +08:00
dc30a5b7b3 *: LOAD DATA support load one file from s3 and other OSS (#40489)
ref pingcap/tidb#40499
2023-01-18 15:27:51 +08:00
5cb64fd09a executor: fix buildTableReaderForIndexJoin on partition table (#40674)
close pingcap/tidb#40596
2023-01-18 11:59:50 +08:00
971deb6202 *: add a new I_S table and support show create for resource groups (#40665)
close pingcap/tidb#39781
2023-01-17 23:37:49 +08:00
22746c0068 privilege,planner/core: add dynamic privilege RESOURCE_GROUP_ADMIN for resource group operation (#40632)
ref pingcap/tidb#38825
2023-01-17 20:47:49 +08:00
faffcd90f8 test: add more foreign key test (#40650)
close pingcap/tidb#40649
2023-01-17 15:47:48 +08:00
4620df6a8d executor,store/copr: trace the buildCopTask and limitExec close duration when it's slow (#40579)
ref pingcap/tidb#40441
2023-01-17 11:11:48 +08:00
aa51b46ead executor: fix concurrent use of testkit in tests and add nil check (#40627)
close pingcap/tidb#40206
2023-01-16 22:29:49 +08:00
03e192b6c4 privileges: add missing items for show privileges | tidb-test=pr/2066 (#40600)
close pingcap/tidb#40591
2023-01-16 14:51:48 +08:00
ee6d291f4e planner: fix prepare explain index out of range bug (#40568)
close pingcap/tidb#38323
2023-01-16 11:25:48 +08:00
5e291ec127 executor: fix 'ADMIN SHOW DDL JOB QUERIES LIMIT m OFFSET n' may return multiple lines (history jobs) with same job id (#39248)
close pingcap/tidb#39233
2023-01-13 19:13:48 +08:00
b61932461b ttl: submit ttl scan task to the system table (#40422)
close pingcap/tidb#40362, ref pingcap/tidb#40363
2023-01-13 15:51:46 +08:00
17c0d5481b executor: support set resource-group-name for kv request (#40237)
ref pingcap/tidb#38825
2023-01-13 14:13:46 +08:00
338fd30fc9 ddl: reimplement get flashback cluster related key ranges (#40460)
close pingcap/tidb#40318, close pingcap/tidb#40477
2023-01-13 13:47:46 +08:00
b1ecabb559 txn: Optimize pessimistic transaction by supporting locking with conflict (#35588)
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
bd7fb08838 distsql: fix a bug of ranger.Range to kv.KeyRange conversion (#40204)
close pingcap/tidb#40158
2023-01-13 10:17:46 +08:00
b8e5460a84 *: add new global variable tidb_enable_resource_control as a switch (#40440)
ref pingcap/tidb#38825
2023-01-12 22:01:46 +08:00
fbc38f8b7f planner: correctly handle expression.ScalarFunction in the buildSemiJoinForSetOperator (#40390)
close pingcap/tidb#40279
2023-01-12 19:07:52 +08:00
26dab31068 ttl: support float number and store ttl_job_interval in info schema (#40509)
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>

Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-12 16:42:34 +08:00
df019ae5ba parser: use identifier as user's resource group name (#40479)
* parser: use identifier as user's resource group name and also fix a drop resource group bug

Signed-off-by: BornChanger <dawn_catcher@126.com>

* executor: fix case

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: format parser.y

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: fix store function of resource group

Signed-off-by: BornChanger <dawn_catcher@126.com>

Signed-off-by: BornChanger <dawn_catcher@126.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-12 15:50:34 +08:00
7beec04214 sysvar: add switch for plan replayer capture using historical stats (#40492)
* add switch

* fix

* fix

* fix

Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-11 19:44:33 +08:00
cefb26146b executor: fix issue of KEY_COLUMN_USAGE table return wrong result about foreign key column (#40491)
Signed-off-by: crazycs520 <crazycs520@gmail.com>

Signed-off-by: crazycs520 <crazycs520@gmail.com>
Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-11 19:08:33 +08:00