Commit Graph

1441 Commits

Author SHA1 Message Date
Hu#
0af1bd701e bind: fix global binding hint for resource groups (#43738)
ref pingcap/tidb#38825, close pingcap/tidb#43736
2023-05-12 12:42:22 +00:00
1bc3848202 session: fix TestUpgradeWithPauseDDL data race (#43704)
close pingcap/tidb#43703
2023-05-11 06:31:22 +00:00
4314687305 *: Update bootstrap and support pause user DDL when upgrading TiDB (#43666)
close pingcap/tidb#43665
2023-05-10 17:07:21 +00:00
7caffd9ba4 privilege, server: support LDAP authentication (#43582)
close pingcap/tidb#43580
2023-05-10 14:51:21 +00:00
0950948125 *: enable mirror linter (#43644)
ref pingcap/tidb#40786
2023-05-09 10:23:05 +00:00
b901431398 *: use time.DateTime,time.DateOnly to replace magic number (#43505) 2023-05-04 03:21:55 +00:00
93966501e5 session: change some privilege columns to case-insensitive (#43443)
close pingcap/tidb#41048
2023-04-27 12:29:53 +00:00
91bf358f7e session: add mock upgrading code for testing (#43419)
close pingcap/tidb#43418
2023-04-26 10:05:52 +00:00
7c5e7ea851 linter: enable revive for session (#43420)
ref pingcap/tidb#40786
2023-04-26 05:53:52 +00:00
a64b149fa2 ddl: set lossy DDL change source for column worker (#43232)
close pingcap/tidb#43227
2023-04-26 04:19:51 +00:00
0b8f8807d0 *: add a new variable to control whether to invalidate plan cache when related table analyzed (#43390)
close pingcap/tidb#43295
2023-04-25 10:31:54 +00:00
04e9dfb2ed test: fix the plan for IndexLookUp test not include IndexLookUp (#43317) 2023-04-23 05:52:44 +00:00
2e9b692d83 session: add more log for internal sql when parse failed (#43282)
close pingcap/tidb#43283
2023-04-21 17:53:20 +08:00
2021b31bdc *: support error handling for distributed adding index (#43075)
close pingcap/tidb#42436, close pingcap/tidb#43029
2023-04-20 17:35:20 +08:00
0423a09188 planner, statistics: add more debug trace (#43200)
ref pingcap/tidb#43069
2023-04-20 06:11:20 +08:00
d6dfb1607c copr: set the default value of load-based replica read threshold to 1s (#43149)
close pingcap/tidb#43148
2023-04-20 01:01:19 +08:00
bcd2233901 *: format the error message when query/instance exceeds memory quota (#43182)
close pingcap/tidb#42044
2023-04-19 23:13:32 +08:00
cd33faf209 planner: enable non-prep plan cache by default (#43145)
ref pingcap/tidb#36598
2023-04-19 21:25:20 +08:00
cf8a941d10 testenv: unite all GOMAXPROCS at test (#43175) 2023-04-19 16:49:35 +08:00
6d6c6072d9 planner: introduce a new variable tidb_session_plan_cache_size (#43140)
ref pingcap/tidb#36598
2023-04-18 19:13:20 +08:00
b1e6fe72f3 planner: non-prep and prep statements use the same unified plan cache (#43094)
ref pingcap/tidb#36598
2023-04-17 22:51:26 +08:00
5322b51bd8 *: add debug trace to plan replayer (#43048) 2023-04-17 19:55:26 +08:00
a5970efea4 *: enable more race and deadlock (#43047) 2023-04-14 12:05:01 +08:00
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