Commit Graph

17423 Commits

Author SHA1 Message Date
180ae24234 planner: check whether current task is valid when comparing task costs (#34606)
ref pingcap/tidb#33945
2022-05-16 12:04:37 +08:00
9392793de5 lightning: trim prefix when use gcs/s3 Storage WalkDir (#34319)
close pingcap/tidb#34118
2022-05-16 11:14:37 +08:00
32258fdaec util: fix data race in the Tracker.maxConsumed (#34656)
close pingcap/tidb#34655
2022-05-15 23:24:36 +08:00
bb662942e5 statistics: analyzed table by manual should be updated in lru (#34637)
ref pingcap/tidb#34052
2022-05-15 23:10:37 +08:00
333c623124 session: migrate test-infra to testify for temporary table tests in session_test (#34664)
ref pingcap/tidb#28328
2022-05-15 22:56:36 +08:00
90e24b92ed session: migrate test-infra to testify for parts of session_test (#34661)
ref pingcap/tidb#28328
2022-05-15 18:38:36 +08:00
10ad7bbe94 expression: fix precision loss when casting time to string (#34660)
close pingcap/tidb#34659
2022-05-15 17:40:36 +08:00
89bbe78203 br: save global checkpoint to storage and support complete transaction (#34612)
close pingcap/tidb#34632
2022-05-14 17:02:35 +08:00
096ec51cd6 br: use the correct status address (#34650)
close pingcap/tidb#34651
2022-05-14 15:22:35 +08:00
43984d89e0 planner: fix bug that aggregate push down may generate wrong plan for outer joins (#34468)
close pingcap/tidb#34465
2022-05-14 04:50:37 +08:00
0017963ddd *: move config file option committer-concurrency to sysvar (#34368)
ref pingcap/tidb#33769
2022-05-14 04:36:37 +08:00
bbfbe137eb *: move config file option enable-batch-dml to sysvar (#33803)
ref pingcap/tidb#33769
2022-05-13 22:12:37 +08:00
c68b6172d9 restore: Auto set region split size/keys from tikv (#34605)
close pingcap/tidb#34370
2022-05-13 21:56:37 +08:00
dde32307aa expression: Support to_seconds function push down for tiflash (#34627)
close pingcap/tidb#34625
2022-05-13 19:18:35 +08:00
4235034b40 util: fix the issue that memory usage not released after tracker Detach (#34592)
ref pingcap/tidb#34571
2022-05-13 18:42:36 +08:00
ad53ac2625 config: add unit test for assert tidb_stats_cache_mem_quota (#34633)
ref pingcap/tidb#34052
2022-05-13 18:28:36 +08:00
19b85656d8 *: use generics to improve Clamp (#34586)
close pingcap/tidb#34588
2022-05-13 17:28:35 +08:00
5b6bb13672 statistics: avoid unnecessary read of mysql.stats_fm_sketch (#34580)
close pingcap/tidb#34581
2022-05-13 17:12:36 +08:00
b8ea8b6e29 planner: strengthen the cases the join reorder can apply (#34603)
close pingcap/tidb#34590, close pingcap/tidb#34591
2022-05-13 16:40:36 +08:00
856e82ad6a txn: add methods to handle error for TxnManager (#34489)
close pingcap/tidb#34533
2022-05-13 16:00:37 +08:00
5ca242761c executor: add test cover Analyze task for evicted index (#34622)
ref pingcap/tidb#34052
2022-05-13 14:46:35 +08:00
1c6dcf0913 planner: support push window function down to tiflash (#31601)
Issue Number: close #33072
2022-05-13 14:12:28 +08:00
0703a64f76 planner: plan cache always check scheme valid in RC isolation level (#34523)
close pingcap/tidb#34447
2022-05-13 10:42:35 +08:00
cd297b9f5c planner: fix wrong cached plan in cachedPlanExec (#34579)
close pingcap/tidb#32371
2022-05-12 18:18:36 +08:00
12ee8f2cc8 planner: add more test cases for the new cost implementation (#34575)
ref pingcap/tidb#33945
2022-05-12 17:44:35 +08:00
c6fe032e99 br: support PiTR feature (#34409)
ref pingcap/tidb#29501
2022-05-12 17:08:35 +08:00
0182b65f5f session: migrate test-infra to testify for parts of session_test (#34594)
ref pingcap/tidb#28328
2022-05-12 16:24:35 +08:00
b824e351b9 lightning: support null value for auto-incr column on local backend (#34552)
close pingcap/tidb#34208
2022-05-12 14:04:35 +08:00
4bab1dbea5 session: fix the memory tracker oom action for nt-dml (#34557)
ref pingcap/tidb#33485
2022-05-12 13:50:36 +08:00
901f042d5d realtikvtest: dedicated package for real tikv tests (#34578)
ref pingcap/tidb#28328
2022-05-12 11:18:34 +08:00
98c31070d9 sysvar, sysvar_test: fix tidb_mem_quota_query min/max value (#34554)
fixes pingcap/tidb#34553
2022-05-12 00:08:35 +08:00
fe07324290 planner: refactor the join reorder codes (#34380)
ref pingcap/tidb#29932
2022-05-11 21:10:34 +08:00
bbd7541322 *: refine 'tidb_snapshot' behavior (#34573)
close pingcap/tidb#34529
2022-05-11 20:54:34 +08:00
50f3d8faf8 *: retry auto-analyze with adjusted samplerate when oom panic (#34387)
close pingcap/tidb#29938
2022-05-11 18:08:34 +08:00
3637d41120 executor: fix processlist's Mem is not zero when HashJoin finished (#34569)
close pingcap/tidb#34571
2022-05-11 17:40:34 +08:00
ea4fda51aa statistics: add metrics for statscache lru (#34568)
ref pingcap/tidb#34052
2022-05-11 17:26:35 +08:00
9e7c9519da topsql: fix memory leak in stmtstats (#34558)
ref pingcap/tidb#34502, ref pingcap/tidb#34525
2022-05-11 16:48:34 +08:00
218247e80e *: improve stack message in the panic log (#34564)
close pingcap/tidb#34356
2022-05-11 16:34:34 +08:00
145058cd75 session: migrate test-infra to testify for parts of session_test (#34560)
Signed-off-by: tison <wander4096@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-05-11 16:16:13 +08:00
dd48f2ec16 metrics: add grafana template and display metrics by instance (#34513)
close pingcap/tidb#34510, ref pingcap/tidb#34514
2022-05-11 16:00:35 +08:00
ed9e72a451 expression: support pushdown weekofyear to tiflash (#34480)
close pingcap/tidb#34479
2022-05-11 15:20:35 +08:00
d830900c98 session: use batch as the keyword for non-transactional DML (#34467)
ref pingcap/tidb#33485
2022-05-11 15:04:35 +08:00
48e94a18f7 dumpling: support init tls without client kay/certs (#34483)
close pingcap/tidb#34530
2022-05-11 11:44:34 +08:00
a58e519055 *: change mysql.analyze_jobs.instance column type (#34542)
close pingcap/tidb#34543
2022-05-11 11:14:34 +08:00
a5d91dc895 planner: support straight join order hint (#34339)
ref pingcap/tidb#29932
2022-05-11 10:50:34 +08:00
1b812854df *: update unstable unit test case list 2022/05/05-2022/05/10 (#34520)
close pingcap/tidb#34540
2022-05-11 00:42:34 +08:00
53f228af45 sysvari: enable statsCache lru by config (#34278)
* add statsquota variable

Signed-off-by: yisaer <disxiaofei@163.com>

* add test

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

* fix conflict

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

fix duplicated plan

Signed-off-by: yisaer <disxiaofei@163.com>

fix duplicated plan

Signed-off-by: yisaer <disxiaofei@163.com>

fix duplicated plan

Signed-off-by: yisaer <disxiaofei@163.com>

* fix duplicated plan

Signed-off-by: yisaer <disxiaofei@163.com>

* fix duplicated plan

Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-05-10 23:49:54 +08:00
199eb8e6c1 core: support left join and right join for join reorder (#23149)
close pingcap/tidb#19940
2022-05-10 23:24:35 +08:00
33236ba8d7 *: track analyze memory usage separately with quota (#33054)
ref pingcap/tidb#29938, close pingcap/tidb#33065
2022-05-10 20:32:35 +08:00
23c6694ce8 metrics: update colors for sql type commit and general (#34532)
close pingcap/tidb#34531
2022-05-10 20:06:34 +08:00