Commit Graph

132 Commits

Author SHA1 Message Date
33ee0667f6 testkit: lock TxnCtx before reading from mock session manager (#42935)
close pingcap/tidb#42933
2023-04-12 00:27:09 +08:00
a20e7fd3a4 ddl: include ddl sessions in session manager's internal list (#42897)
close pingcap/tidb#42895
2023-04-11 17:59:01 +08:00
856648ace6 domain, session: print more MDL log and make MDL more stable (#42891)
close pingcap/tidb#42890
2023-04-10 20:17:00 +08:00
d6a5054b72 *: global memory controller should not kill session whose mem less than limit_sess_min_size (#42803) 2023-04-07 13:02:58 +08:00
2e8a982cb0 session, com_stmt: fetch all rows during EXECUTE command (#42473)
close pingcap/tidb#41891, close pingcap/tidb#42424
2023-03-23 17:34:43 +08:00
04741ae4ca *: implement CANCEL/DROP LOAD DATA JOB (#42137)
ref pingcap/tidb#40499
2023-03-17 11:58:39 +08:00
04fefc97e6 load data: add with options (#41890)
ref pingcap/tidb#40499
2023-03-03 21:21:23 +08:00
1d2040a2ab DDL: Partition table supports key partition type (#41365)
close pingcap/tidb#41364
2023-02-24 22:27:07 +08:00
8d91a14250 session: let handleAssertionFailure work for partitioned table (#40630)
close pingcap/tidb#40629
2023-02-24 11:29:07 +08:00
9ebd766b53 util: add InTest to check whether to be in test (#40927)
close pingcap/tidb#40929
2023-02-01 15:27:56 +08:00
5b82653605 *: Setup Global Resource Controller (#40732)
close pingcap/tidb#40731
2023-01-20 17:03:50 +08:00
90e7271940 testkit: reset the resource manager after test finishes (#40638) 2023-01-17 13:55:49 +08:00
2150c6b3a1 executor: close recordset again (#40073) 2022-12-21 15:52:55 +08:00
fdf335e3e5 *: make auto-analyze killable by global memory limit (#39978)
ref pingcap/tidb#39971, close pingcap/tidb#39994
2022-12-20 21:56:55 +08:00
0fe61bd41a *: prevent cursor read from being cancelled by GC (#39950)
close pingcap/tidb#39447
2022-12-16 16:12:52 +08:00
d176b38cce testkit: set GOMAXPROCS in test (#39766) 2022-12-09 19:09:42 +08:00
9a7341eb43 executor: add tests for property pushed down for partition table (#39530)
ref pingcap/tidb#26166
2022-12-02 01:54:02 +08:00
1f04e14bef domain: support dump historical stats in background job (#39417) 2022-12-01 13:04:01 +08:00
40f0bd5255 executor: add index_merge_intersection cases (#39323) 2022-11-30 13:42:00 +08:00
6241d6054f planner, executor: support intersection type IndexMerge with hint in planner (#38650)
close pingcap/tidb#39335
2022-11-30 10:30:00 +08:00
f9a6e47192 planner: support push part of order property down to the partition table (#36108)
ref pingcap/tidb#26166
2022-11-29 13:51:59 +08:00
ddb43554cf domain: support plan_replayer_task system table (#39019)
close pingcap/tidb#38779
2022-11-11 15:19:53 +08:00
ea26284ea3 *: avoid special cases DATA RACE (#38918)
close pingcap/tidb#38914
2022-11-08 20:13:50 +08:00
0b3e1e9be0 *: Chunkreuse try reuse chunk in operator (#38607)
close pingcap/tidb#38606
2022-11-04 11:28:00 +08:00
5a8fd6da57 *: fix goleak when to use CreateMockStoreAndDomain (#38734)
close pingcap/tidb#38731
2022-11-01 11:47:59 +08:00
40f059a289 executor: add some memory tables to observe memory usage (#38452)
ref pingcap/tidb#37816
2022-10-28 15:05:59 +08:00
18698d1558 extension: add more informations to extension context (#38693)
ref pingcap/tidb#38493
2022-10-27 20:15:57 +08:00
4bdd20b540 *: support 2-phases flashback cluster (#38164)
ref pingcap/tidb#37961, close pingcap/tidb#38554
2022-10-26 17:01:58 +08:00
e48f35751f session: refactor non-transactional DML to make it ready for more DML types (#38197)
ref pingcap/tidb#33485
2022-10-19 17:35:53 +08:00
c425b4e425 bazel: update config (#38509) 2022-10-18 15:35:53 +08:00
17fac8bc28 util: disable memory global tuner in ut to avoid leak (#38472) 2022-10-16 17:41:52 +08:00
4e4169bcc5 *: support global memory control for tidb (#37794)
ref pingcap/tidb#37816
2022-09-26 12:01:43 +08:00
c9dd537346 *: fix race and enable race for concurrent ddl test (#38093)
close pingcap/tidb#38063
2022-09-22 20:27:03 +08:00
28b6ca11ed planner/core: fix partition pruning for IN multiple values (#37511)
close pingcap/tidb#37508
2022-09-22 17:55:03 +08:00
ff1df75a6a *: add more tests for metadata lock and fix data race (#37930)
close pingcap/tidb#37927
2022-09-20 12:05:01 +08:00
1eeedacc60 *: remove goleak's ignoring opencensus top function (#37908) 2022-09-19 12:29:00 +08:00
c4638b70fd *: support metadata lock (#37393)
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00
xhe
abb1fd1e2b *: remove cockroach deps (#37703) 2022-09-08 11:44:56 +08:00
58822f8859 planner: get plan from the general plan cache before optimization (#37634) 2022-09-06 16:58:39 +08:00
70684d39de *: enable mock session manager and schemaLease for all unit tests (#37623) 2022-09-06 14:04:55 +08:00
909341b57f *: enable noloopclosure (#37153) 2022-08-26 17:46:21 +08:00
2858bc1571 *: refine mock session manager (#37400) 2022-08-26 15:06:21 +08:00
c29c1fa606 testkit,executor: add MustQueryWitnContext API and fix unstable test TestCoprocessorPriority (#37382)
close pingcap/tidb#36974
2022-08-25 17:36:21 +08:00
ef738eaba4 planner: introduce the Parameterizer interface for general plan cache (#37170)
ref pingcap/tidb#36598
2022-08-18 11:04:53 +08:00
d67e29e658 sessionctx/variable: remove further skipinit (#36199)
ref pingcap/tidb#35051
2022-08-10 14:22:48 +08:00
0a8611ddfe sysvar: add parsing phase for setting 'init_connect' (#36865)
close pingcap/tidb#35324
2022-08-05 12:42:06 +08:00
b364cecdcc planner: use the unified parameters for plan cache (#36781) 2022-08-03 18:35:49 +08:00
c060208b2f *: move config file option oom-use-tmp-storage to sysvar (#36679)
ref pingcap/tidb#33769
2022-08-02 16:58:05 +08:00
cc2fcfceca ddl/schematracker: fix SetDDL will cause data race (#36768)
close pingcap/tidb#36766
2022-08-02 00:24:05 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00