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
bca433fcab
planner: remove pickFromBucket field in LRUPlanCache ( #40668 )
...
ref pingcap/tidb#36598
2023-01-28 16:41:53 +08:00
556c267758
server, privileges: make tidb_auth_session_token compatible with password expiration and resource group ( #40735 )
...
ref pingcap/tidb#40614
2023-01-20 13:51:49 +08:00
971deb6202
*: add a new I_S table and support show create for resource groups ( #40665 )
...
close pingcap/tidb#39781
2023-01-17 23:37:49 +08:00
1083f79f51
handle: use separete ctx for initStats ( #40604 )
...
close pingcap/tidb#40548
2023-01-16 18:23:48 +08:00
b61932461b
ttl: submit ttl scan task to the system table ( #40422 )
...
close pingcap/tidb#40362 , ref pingcap/tidb#40363
2023-01-13 15:51:46 +08:00
17c0d5481b
executor: support set resource-group-name for kv request ( #40237 )
...
ref pingcap/tidb#38825
2023-01-13 14:13:46 +08:00
b1ecabb559
txn: Optimize pessimistic transaction by supporting locking with conflict ( #35588 )
...
close pingcap/tidb#40537
2023-01-13 11:09:46 +08:00
b8e5460a84
*: add new global variable tidb_enable_resource_control as a switch ( #40440 )
...
ref pingcap/tidb#38825
2023-01-12 22:01:46 +08:00
408a46654d
session: fix deadlock when init domain failed ( #40409 )
...
close pingcap/tidb#40408
2023-01-09 15:50:22 +08:00
a9d8bfe6ae
session: fix data race in the LazyTxn.LockKeys ( #40350 )
...
close pingcap/tidb#40355
2023-01-07 00:00:21 +08:00
005c8d8ef8
*: remove the support of the amending transaction ( #39714 )
...
close pingcap/tidb#40381
2023-01-06 18:26:21 +08:00
5eea731db0
util: use go-deadlock to find deadlock ( #40288 )
...
close pingcap/tidb#40293
2023-01-05 15:10:20 +08:00
3e6499b568
sysvar: fix circular dependency in rebuildSysVarCache leading to deadlock ( #40283 )
...
close pingcap/tidb#40240
2023-01-04 11:20:20 +08:00
1f344ba108
autoid_service: add unit test for the package ( #40193 )
2023-01-03 19:40:19 +08:00