Commit Graph

1418 Commits

Author SHA1 Message Date
330d756f5f ddl: abstract ingest backend related structures to interfaces (#43004) 2023-04-13 21:45:01 +08:00
082e6d630c session: optimizate the session package (#42954) 2023-04-12 13:31:01 +08:00
b118a1822a session: set GOMAXPROCS for test (#42908) 2023-04-11 14:09:02 +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
79dc5e028f session, domain: fix "tidb_global_task doesn't exist" error during bootstrap (#42896)
close pingcap/tidb#42767
2023-04-10 18:51:00 +08:00
566c3f6f8e planner: refactor PreparedParams for non-prep plan cache (#42844)
ref pingcap/tidb#36598
2023-04-06 21:32:58 +08:00
4675e4e169 planner: add more test cases for non-prep plan cache (#42801)
ref pingcap/tidb#36598
2023-04-04 19:28:57 +08:00
811974b7c0 session, sessionctx: ignore invalid session vars when migrating a session (#42696)
ref pingcap/tiproxy#255, close pingcap/tidb#42697
2023-03-30 13:00:54 +08:00
897603148b disttask: Add task_key column to mysql.tidb_global_task (#42636)
close pingcap/tidb#42610
2023-03-29 00:04:54 +08:00
a1407b29fa loaddata: split functionalities to prepare concurrent load (#42565)
ref pingcap/tidb#40499
2023-03-28 23:20:55 +08:00
7442a66e4b planner: fix incompatibility issues between plan-cache and expr-blacklist (#42606)
ref pingcap/tidb#36598
2023-03-27 22:00:54 +08:00
0344a3b70b *: add plan hint to slow log files when redaction is enabled (#42170)
close pingcap/tidb#42169
2023-03-25 14:54:42 +08:00
cb12d335c5 *: improve unit test (#42527) 2023-03-24 13:54:42 +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
5c7db3578d resource_control: init default resource group without ddl (#42478)
close pingcap/tidb#42403
2023-03-23 14:18:42 +08:00
3c942f7e10 bazel: set short timeout as 120s (#42396) 2023-03-22 01:50:42 +08:00
fc166ffae8 *: enable more race and set timeout for test (#42371) 2023-03-20 12:44:40 +08:00
be4edc2484 session: fix data race at the TxnCtx (#42348)
close pingcap/tidb#42347
2023-03-17 18:35:24 +08:00
8d8d608093 bootstrap: move LOAD DATA system table into bootstrap (#42343)
ref pingcap/tidb#40499
2023-03-17 12:56:47 +08:00
c6ccec8689 *: fix data race at the TxnTotalSizeLimit (#42336)
close pingcap/tidb#42335
2023-03-17 12:56:40 +08:00
327b628f51 planner: add more test cases for non-prep plan cache (#42328)
ref pingcap/tidb#36598
2023-03-16 20:16:56 +08:00
8aa4a899a3 session: set tidb_enable_null_aware_anti_join to ON when upgrading to v7.0 (#42272)
close pingcap/tidb#42271
2023-03-16 10:02:40 +08:00
ee7c089e55 session: use TxnCtx.InfoSchema, no matter vars.InTxn() or not (#42027)
close pingcap/tidb#41622, close pingcap/tidb#42003
2023-03-15 21:22:40 +08:00
a86fd29f1f *: visible default resource group (#41606)
close pingcap/tidb#40875
2023-03-14 20:50:39 +08:00
cc54d1bba1 txn, session: Rename Aggressive Locking to Fair Locking and enable by default for new clusters (#42108)
ref pingcap/tidb#42107, close pingcap/tidb#42147
2023-03-14 15:54:39 +08:00
ea243088e1 load data: move param and some init logic into importer pkg (#42075)
ref pingcap/tidb#40499
2023-03-13 18:58:40 +08:00
6c03f5e163 *: implement a global task manager and a sub task manager to handle the read/write of global task table and sub-task table (#41979)
close pingcap/tidb#41984
2023-03-13 12:42:37 +08:00
a273039f3c session: fix unstable test TestStaleReadNoExtraTSORequest (#42101)
close pingcap/tidb#42100
2023-03-10 16:07:14 +08:00
53f15f6ed7 session: set tidb_stats_load_pseudo_timeout to ON when upgrade to v6.5 (#42066)
close pingcap/tidb#42078
2023-03-10 12:33:12 +08:00
ed7a8a7d07 monitor: optimize the statistics of db labels (#42026)
close pingcap/tidb#42025
2023-03-09 19:53:13 +08:00
49bf4ce6d9 planner: set the tidb_opt_advanced_join_hint to off when upgrade (#42016)
ref pingcap/tidb#36600
2023-03-08 20:45:12 +08:00
18f1ecdfcd planner: add monitor for non-prepared plan cache (#41752)
ref pingcap/tidb#36598
2023-03-07 19:41:12 +08:00
7cd2029773 session: support set current session's resource group name (#41722)
ref pingcap/tidb#38825
2023-03-06 23:29:11 +08:00
17bbc2961b *: support resource_group sql hint (#41678)
* *: support resource_group sql hint

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

* *: refine case

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

* *: make case stable

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

* *: code format

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

* *: relocate the cases

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

* *: fix bazel attribute

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

* *: fix bazel

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

* *: code fmt

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

* *: code format

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

* *: address comments

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

* *: address comments for 2nd round

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

* *: polish check logic

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

---------

Signed-off-by: BornChanger <dawn_catcher@126.com>
2023-03-06 18:34:13 +08:00
33c34f832c bootstrap: add more tests for initialize-sql-file (#41888)
ref pingcap/tidb#35624
2023-03-06 13:43:12 +08:00
9e275181be txn: Slow txn log (#41864)
close pingcap/tidb#41863
2023-03-06 11:47:11 +08:00
723526708d metrics: attach const label keyspace_id (#41693)
close pingcap/tidb#41698
2023-03-04 00:03:10 +08:00
5ba709f955 session: check redact when log compile error (#41832)
close pingcap/tidb#41831
2023-03-03 21:21:11 +08:00
54a23ef986 adapter, txn: Move aggressive locking controlling logic to handlePessimisticXXX functions to avoid some potential misuses (#41726)
close pingcap/tidb#41724
2023-02-28 16:45:08 +08:00
8d91a14250 session: let handleAssertionFailure work for partitioned table (#40630)
close pingcap/tidb#40629
2023-02-24 11:29:07 +08:00
484aa036f9 domain: support extract plan task handle (#41600)
* Revert "parser: support plan change capture collect stmt (#41478)"

This reverts commit 301a024ebca317e54124eb71b0afbfb399149e79.

* support extract worker

support extract worker

support extract worker

fix lint

fix lint

add test

add test

* add test

add test

* add test

* add test

* address the comment
2023-02-22 11:59:49 +08:00
79558c08ad metric: add some metric by database (#41477)
close pingcap/tidb#37892
2023-02-18 13:39:04 +08:00
bc95a4f022 *: lock the temp index key properly in DML (#41516)
close pingcap/tidb#41515
2023-02-17 18:19:04 +08:00
57537fd15e session: fine-grained cache for session's bootstrap test (#41507)
ref pingcap/tidb#41377
2023-02-17 11:54:02 +08:00
5df1913e0f session: fix upgrade (#40182)
close pingcap/tidb#41502
2023-02-16 21:30:02 +08:00
d0919b907a session: set tidb_server_memory_limit to defValue during bootstrap (#41438) 2023-02-16 15:28:37 +08:00
98ef95e66f session: enable foreign_key_checks/tidb_enable_foreign_key by default when upgrade (#41424) 2023-02-15 17:14:21 +08:00
8805b4c58c executor: fix race when collecting telemetry info of batch copr (#41413)
close pingcap/tidb#41412
2023-02-15 13:06:00 +08:00
84871df190 *: update bazel (#41369)
ref pingcap/tidb#41377
2023-02-14 14:30:01 +08:00
2baf8c2e4f metric: seperate the internal and external transaction metrics (#41206)
ref pingcap/tidb#41203
2023-02-12 11:08:01 +08:00