Commit Graph

109 Commits

Author SHA1 Message Date
72d22d60fc privilege: fix auth_socket bug, should only allow os user name to login (#54032)
close pingcap/tidb#54031
2024-06-17 07:28:15 +00:00
e9da2c0887 server: handle kill signal during write result to connection (#52882)
close pingcap/tidb#44009
2024-06-12 08:09:00 +00:00
f1ec74b3b8 *: fix insert on duplicate and replace into with global index (#53717)
close pingcap/tidb#53711, close pingcap/tidb#53750
2024-06-03 12:19:24 +00:00
bf704fd635 domain: make the transaction from initStatsCtx blocking gc (#53602)
close pingcap/tidb#53592
2024-05-28 10:19:28 +00:00
97aac23c85 util: move server.TokenLimiter into util (#53598) 2024-05-28 04:51:03 +00:00
be804747e8 *: some tiny optimizations to reduce infoschema v2 memory (#53242)
ref pingcap/tidb#50959
2024-05-14 10:37:20 +00:00
fe7c324254 extension: make RelatedTables work when the statement fails (#50989)
close pingcap/tidb#50988
2024-05-08 03:55:08 +00:00
81a7cf5548 variable: disable tidb_enable_historical_stats by default (#53046)
close pingcap/tidb#53048
2024-05-07 11:11:39 +00:00
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