Commit Graph

825 Commits

Author SHA1 Message Date
3aa21d0937 *: label external the request source via sessionvar (#44770)
ref pingcap/tidb#44769
2023-07-11 04:21:42 +00:00
af04707eda *: fix data race in ProcessInfo (#45127)
close pingcap/tidb#45126
2023-07-05 07:38:22 +00:00
09bbf08d72 planner: update the syntax of drop hypo index (#44944)
close pingcap/tidb#43817
2023-06-26 09:08:35 +00:00
086cc20284 session,expression: Support IS_USED_LOCK function (#44495)
close pingcap/tidb#44493
2023-06-21 04:01:12 +00:00
b754f883cd metrics: add max query duration per resource group metrics (#44746)
ref pingcap/tidb#43691
2023-06-17 07:15:09 +00:00
adfb34b94e executor: impl runaway watch check (#44474)
ref pingcap/tidb#43691
2023-06-16 10:05:09 +00:00
3ca5d3d618 planner,txn: fix the bug that RESOURCE_GROUP() hint can not take effect for write … (#44513)
close pingcap/tidb#44512
2023-06-15 09:31:10 +00:00
bb68e2e8a9 session: fix the memory tracker leak in prepare binary protocol (#44618)
close pingcap/tidb#44612
2023-06-13 10:39:17 +00:00
1837efe528 resource_control: use const default resource group name (#44526)
ref pingcap/tidb#43691
2023-06-13 08:37:15 +00:00
d58e752fdc test: mock multiple servers running dist task and ddl (#44326)
ref pingcap/tidb#44399
2023-06-13 08:37:07 +00:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
437157e720 *: fix cte miss cleaning spilled-disk file (#44501)
close pingcap/tidb#44477
2023-06-08 11:59:07 +00:00
1e98f86063 *: add expensive_txn log and metric for long-running transaction (#44248)
close pingcap/tidb#41471
2023-06-08 08:50:49 +00:00
3c50d5130b session, ddl: fix the nil point in TxnInfo (#44486)
close pingcap/tidb#43829
2023-06-08 04:49:41 +00:00
4714df8a83 executor: fix issue of can not get the TxnStart if the SQL has a non-related subquery (#44232)
close pingcap/tidb#40851
2023-05-29 09:10:41 +00:00
cd834eec65 import into: impl IMPORT INTO statement part 1 (#44122)
ref pingcap/tidb#42930
2023-05-25 05:45:38 +00:00
6e11eefcfc loaddata: don't split transaction and revert some change (#44136)
ref pingcap/tidb#44078
2023-05-25 03:43:38 +00:00
0ac7473ec9 loaddata: revert concurrent writing to TiKV and WITH detached (#44056)
ref pingcap/tidb#44078
2023-05-23 06:43:38 +00:00
acc8f88097 session: del NO_BACKSLASH_ESCAPES sql mode for internal sql (#43966)
close pingcap/tidb#43392
2023-05-19 03:49:36 +00:00
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
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
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
2e9b692d83 session: add more log for internal sql when parse failed (#43282)
close pingcap/tidb#43283
2023-04-21 17:53:20 +08:00
0423a09188 planner, statistics: add more debug trace (#43200)
ref pingcap/tidb#43069
2023-04-20 06:11:20 +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
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
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
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
be4edc2484 session: fix data race at the TxnCtx (#42348)
close pingcap/tidb#42347
2023-03-17 18:35:24 +08:00
c6ccec8689 *: fix data race at the TxnTotalSizeLimit (#42336)
close pingcap/tidb#42335
2023-03-17 12:56: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
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
ed7a8a7d07 monitor: optimize the statistics of db labels (#42026)
close pingcap/tidb#42025
2023-03-09 19:53:13 +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