Commit Graph

18302 Commits

Author SHA1 Message Date
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
d124796dc5 *: upgrade gomod to fix data race (#34512)
close pingcap/tidb#34511
2022-05-10 18:30:34 +08:00
73f3435346 ddl: move some admin function to ddl (#34527)
close pingcap/tidb#34526
2022-05-10 18:14:34 +08:00
bf7c3efbd7 backup: fix the lost empty database (#34519)
ref pingcap/tidb#33866
2022-05-10 16:32:34 +08:00
45415f45be session: return an error when a non-transactional DML partially fails (#34488)
ref pingcap/tidb#33485
2022-05-10 15:50:34 +08:00
1d2a0b998d planner: introduce a flag to cost calculation to control some behaviors (#34499)
ref pingcap/tidb#33945
2022-05-10 14:56:33 +08:00
ede6f8cf16 *: Support modify table/column charset from latin1 to utf8/utf8mb4 (#34386)
ref pingcap/tidb#34008
2022-05-10 13:00:35 +08:00
e9e1e53176 br: fix the issue that config not paused with ttl correctly (#31725)
close pingcap/tidb#31733
2022-05-10 12:12:34 +08:00
c789478fa3 expression: use existing repertoire for Column if possible (#34501)
close pingcap/tidb#34500
2022-05-10 11:56:34 +08:00
53a3923358 planner: add more rand-gen test cases for the new cost implementation (#34486)
ref pingcap/tidb#33945
2022-05-10 11:16:34 +08:00
adebe4452b executor: fix time filter condition when select from information.slow_query_log (#34322)
close pingcap/tidb#34320
2022-05-10 10:56:33 +08:00
ab26a287dc tests/pessimistictest: fix DATA RACE for tests (#34505)
close pingcap/tidb#34504
2022-05-09 22:56:33 +08:00
c16291392a *: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse (#34494)
close pingcap/tidb#34490
2022-05-09 22:00:33 +08:00
2f86eac3cf planner: introduce Cond-FD to maintain null-constraint FD (#34147)
close pingcap/tidb#34148
2022-05-09 19:06:33 +08:00
20ecaef36d ddl: add require owner interface (#34407)
ref pingcap/tidb#32031
2022-05-09 18:48:33 +08:00
71bfde9292 *: use go1.18 in the dockerfile (#34481)
close pingcap/tidb#34482
2022-05-09 16:18:33 +08:00
9f15cac7a7 planner: fix the explain verbose to be NOT case insensitive (#34471)
close pingcap/tidb#34469
2022-05-09 15:44:33 +08:00
b1379a61b5 executor: release memory usage of task in indexJoin/indexHashJoin (#34418)
close pingcap/tidb#34417
2022-05-09 15:16:33 +08:00
6c30303937 session: refine non-transactional delete (#34273)
ref pingcap/tidb#33485
2022-05-09 13:30:34 +08:00
1f4fd0720e planner: enable memtable operator support enforced property (#34449)
close pingcap/tidb#31609
2022-05-09 12:14:33 +08:00
8a2966ce1e *: improve map copy (#34451)
close pingcap/tidb#34454
2022-05-09 11:44:33 +08:00
685de0e099 ddl: fix recover table will still push table state even if meet error (#34410)
close pingcap/tidb#34438
2022-05-09 11:02:33 +08:00