Commit Graph

91 Commits

Author SHA1 Message Date
8188ede43a linter, *: enable linters appends and unusedwrite (#52452)
ref pingcap/tidb#52449, close pingcap/tidb#52450
2024-04-10 11:45:22 +00:00
060ff39ab7 planner: simplify plan cache code (#52384)
ref pingcap/tidb#51407
2024-04-07 09:46:49 +00:00
62d6f4737b planner: move fields from ast.Prepared to planner.PlanCacheStmt (#52373)
ref pingcap/tidb#51407
2024-04-07 08:30:20 +00:00
xhe
8f985c70ae *: additional test for redact log and a fix (#52359)
close pingcap/tidb#52364
2024-04-07 05:31:49 +00:00
208df64a6f server: move all routes to mux router and make sure pprof paths are good (#52236)
close pingcap/tidb#51914
2024-03-29 10:45:14 +00:00
dfb7955cd9 Revert "server: register all status routes with mux.Router" (#52230) 2024-03-29 05:26:18 +00:00
9855a5525b server: register all status routes with mux.Router (#51915)
close pingcap/tidb#51914
2024-03-28 04:21:47 +00:00
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +00:00
07ef009486 server, metrics: remove the connection count on server, only use the metrics (#51996)
close pingcap/tidb#51889
2024-03-22 09:47:15 +00:00
70562090bc executor: fix issue that some query execution stats was omitted when execution was interrupted (#51787)
close pingcap/tidb#51660
2024-03-18 09:05:13 +00:00
7ebaaa18aa server: fix data race in the TestProxyProtocolWithIpNoFallbackable (#51791)
close pingcap/tidb#51790
2024-03-15 05:09:54 +00:00
0ed511a84b planner, stats: reduce the persist memory usage of stats after startup (#47496)
close pingcap/tidb#46867
2024-03-14 14:09:41 +00:00
xhe
9efa659dc5 *: remove old enableredactlog (#51718)
close pingcap/tidb#51717
2024-03-13 03:38:09 +00:00
xhe
15947c1cf2 logutil: adapt new redact functions (#51642)
close pingcap/tidb#51310, close pingcap/tidb#51641
2024-03-12 09:06:39 +00:00
ccbab5eeb7 *: Enable plan cache for partitioned tables (#49161)
close pingcap/tidb#33031, close pingcap/tidb#45532
2024-03-12 05:38:08 +00:00
caf83ed930 statistics: add last_analyze_version for mysql.stats_meta (#51489)
ref pingcap/tidb#49594
2024-03-11 08:06:38 +00:00
xhe
611dc83af6 *: migrate to the new parser redact function (#51590)
close pingcap/tidb#51588
2024-03-08 08:59:07 +00:00
xhe
38cc7bed7f session: migrate to the new redact function (#51561)
close pingcap/tidb#51557
2024-03-08 03:21:37 +00:00
d3a9c1b867 server: fix incorrect setting of health status (#51595)
close pingcap/tidb#51596
2024-03-08 02:17:06 +00:00
8500bb47f4 *: fix data race in the TestProxyProtocolWithIpFallbackable (#51555)
close pingcap/tidb#44609
2024-03-07 09:29:07 +00:00
27be90a6e8 *: use AllSchemaNames to replace AllSchemas (#51436)
ref pingcap/tidb#50959
2024-03-06 11:48:36 +00:00
5e6cb1689e session: load variables before parsing SQL (#51466)
close pingcap/tidb#51387
2024-03-05 17:57:35 +00:00
7f8d3944f5 server: start to listen after init stats complete (#51472)
close pingcap/tidb#51473
2024-03-05 09:15:34 +00:00
7b558417be server: store the updated labels into etcd (#51451)
close pingcap/tidb#51427
2024-03-04 02:56:03 +00:00
60aa838790 parser, server: unify writeData and writeError functions (#51402)
close pingcap/tidb#51408
2024-03-01 05:00:32 +00:00
5b187e5e56 planner: standalone implement for PlanContext (#51237)
close pingcap/tidb#51236
2024-02-22 15:03:28 +00:00
11f716e206 bootstrap, br: add sys.schema_unused_indexes view (#50887)
close pingcap/tidb#50886
2024-02-21 05:22:57 +00:00
464a12651b build(deps): bump github.com/golangci/golangci-lint from 1.55.2 to 1.56.1 (#51089) 2024-02-18 06:57:01 +00:00
f5e0799dd7 *: store db ID in model.TableInfo and move SchemaByTable method out from InfoSchema (#50917)
ref pingcap/tidb#50959
2024-02-07 05:07:15 +00:00
e528b6819e server/tests/cursor: fix cursor fetch error flacky test (#50969)
close pingcap/tidb#47029
2024-02-04 14:35:42 +00:00
b7ce239330 *: force_init_stats doesn't block http api's startup (#50853)
close pingcap/tidb#50854
2024-02-02 08:25:56 +00:00
b8168164d0 server: split tests (#50860)
ref pingcap/tidb#44940
2024-02-01 04:06:24 +00:00
c76fe3ff97 plan replayer: fix cannot load bindings when the statement contains in (...) (#50762)
close pingcap/tidb#43192
2024-01-31 13:54:25 +00:00
0250675b0b txn: deprecate the transaction auto retry and related statement count limit (#50782)
ref pingcap/tidb#50350
2024-01-30 08:10:59 +00:00
51e1e13494 *: update interface{} to any (#50770)
ref pingcap/tidb#50765
2024-01-29 07:21:29 +00:00
c1cae24a87 table: simplify the interface table.Index to reduce its context requirement (#50692)
close pingcap/tidb#50691
2024-01-24 10:06:28 +00:00
c9362659e7 server: split cursor test (#50683)
close pingcap/tidb#50682
2024-01-24 05:30:22 +00:00
9b860f87bb conn, util: make opentracing work again (#50551)
close pingcap/tidb#50508
2024-01-18 09:13:54 +00:00
a20cdf6f4c planner: clean BindRecord in the binding package (#50466)
ref pingcap/tidb#48875
2024-01-16 10:54:18 +00:00
3a3237ee49 planner: clean BindRecord in the binding package (#50423)
ref pingcap/tidb#48875
2024-01-15 11:34:45 +00:00
715fc0b866 *: remove TLS1.0, TLS1.1 support (#50348)
ref pingcap/tidb#36036
2024-01-15 04:16:18 +00:00
Z.H
d24ce81cb2 server: Skip checking sequence number of the sub header when compression protocol is active (#50092)
close pingcap/tidb#49845
2024-01-08 11:42:23 +00:00
9b0fd9ea29 *: renaming variables/structs to improve readability / decrease confusion (#49989)
close pingcap/tidb#49988
2024-01-06 02:58:51 +00:00
c3346856e6 planner: avoid repeat normalization on the same query when matching binding for plan cache (#50133)
ref pingcap/tidb#48875
2024-01-05 09:58:51 +00:00
d11a559ae2 planner: remove useless binding code and add more test cases (#50098)
ref pingcap/tidb#48875
2024-01-05 02:47:03 +00:00
62c83d40fe bindinfo: extract the table hint from the union statement (#50070)
close pingcap/tidb#50068
2024-01-04 14:00:34 +00:00
4f38f2913b server: fix decode issue for prefetch point plan index keys (#50037)
close pingcap/tidb#50012
2024-01-03 12:59:02 +00:00
e80385270c metrics: add connection and fail metrics by resource group name (#49424)
ref pingcap/tidb#49318
2024-01-03 06:05:02 +00:00
cf659a3efe server: improve dump.Uintxx implementation (#49837)
close pingcap/tidb#44970
2023-12-27 11:42:28 +00:00
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00