Commit Graph

101 Commits

Author SHA1 Message Date
245f7a9a55 *: add rpc error stats and refine log (#52810)
close pingcap/tidb#52809
2024-04-29 13:28:28 +00:00
045d7da71c server, test: fix a minor TZ issue in TestDumpBinaryTime (#52624)
close pingcap/tidb#52345
2024-04-29 03:55:27 +00:00
70a825397f *: add metadata lock when using the plan cache (#51897)
close pingcap/tidb#51407
2024-04-28 09:16:27 +00:00
24990b5ddd server: handle the case the type of param is set for the param sent by SEND_LONG_DATA (#52720)
close pingcap/tidb#52711
2024-04-25 03:40:41 +00:00
c0e6cba4ad *: bump up client-go to fix #52464 (#52844)
close pingcap/tidb#52464
2024-04-24 10:31:41 +00:00
3368ccdef1 expression: introduce StaticEvalContext to provide context when evaluating expressions (#52631)
close pingcap/tidb#52630
2024-04-23 06:52:40 +00:00
6660de7356 server: fix the missing type of query total counter for resource groups above 2 (#52606)
close pingcap/tidb#52605
2024-04-16 07:12:06 +00:00
07782971b9 server: Fix mppcoordinatorMananger server addr empty issue (#52632)
close pingcap/tidb#52608
2024-04-16 06:28:36 +00:00
5aa48d8284 planner: move base plan related output of core pkg and make it well-pkged (#52529)
ref pingcap/tidb#51664
2024-04-15 10:51:06 +00:00
224ae15478 *: improve log about stale-read query (#52494)
close pingcap/tidb#52492
2024-04-15 07:48:06 +00:00
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