Commit Graph

1401 Commits

Author SHA1 Message Date
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
696d7d06e9 *: REORGANIZE PARTITION (#38535) (#41096)
close pingcap/tidb#38535
2023-02-11 20:28:00 +08:00
8531018f04 ddl: improve backfill more general (#41093)
close pingcap/tidb#41002
2023-02-10 23:52:00 +08:00
c34238b3c2 session: fix processInfo time when using driver to prepare and execute query (#41151)
close pingcap/tidb#41057
2023-02-09 23:54:16 +08:00
61e1d81974 add metrics for TTL (#41155)
Signed-off-by: YangKeao <yangkeao@chunibyo.icu>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Co-authored-by: 王超 <cclcwangchao@hotmail.com>
2023-02-09 20:28:31 +08:00
09d3fa9d88 txn: Fix the issue that analyze panics when aggressive locking is enabled globally (#41196)
close pingcap/tidb#41194
2023-02-09 10:19:59 +08:00
bdef910bec store/copr: enable store batch by default & add extra copr concurrency and batch nums in stats (#40711)
ref pingcap/tidb#39361, close pingcap/tidb#40399
2023-02-09 03:07:59 +08:00
00d48f90e6 *: update util/tracing and remove repeated code (#40825)
close pingcap/tidb#40809
2023-02-06 22:35:58 +08:00
c017999d02 sessionctx: fix hidden and user var problems in encoding session states (#40754)
close pingcap/tidb#40614
2023-02-06 18:53:57 +08:00
b78c62f784 session, metrics: refine the resource control metrics (#41045)
ref pingcap/tidb#38825
2023-02-06 15:33:57 +08:00
975d177286 *: add resource group name into information_schema.processlist (#40739)
close pingcap/tidb#40724
2023-02-03 22:23:56 +08:00
15bac9ea91 ddl: show more jobs in the tidb_mdl_view (#40860)
close pingcap/tidb#40838
2023-02-03 17:19:56 +08:00
b91e2d9aa1 session: use mDDLTableVersion key to control backfill tables (#40984)
close pingcap/tidb#40980
2023-02-03 11:45:56 +08:00
04f9b3c150 *: add UseAutoScaler config to disable AutoScaler (#40966)
close pingcap/tidb#40971
2023-02-02 16:11:56 +08:00
ab1e57650c session: fix bad log (#40948)
close pingcap/tidb#40947
2023-02-01 19:45:56 +08:00
d28a8d84b5 *: support MockAutoScaler and AWSAutoScaler (#40729)
close pingcap/tidb#40747
2023-02-01 19:11:56 +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
4686338d0e ttl: add table mysql.ttl_job_history to store ttl job histories (#40655)
close pingcap/tidb#40654
2023-01-29 10:19:53 +08:00