Commit Graph

61 Commits

Author SHA1 Message Date
71238b11a6 ddl: skip adding index reorg work for empty tables (#56406)
close pingcap/tidb#51421, close pingcap/tidb#54230
2024-10-25 11:39:25 +00:00
b759f3306c server: replace session in statsHistoryHandler with types.Context (#56783)
close pingcap/tidb#56782
2024-10-23 11:02:14 +00:00
f37210f6ba executor: fix plan replay cannot deal with placement mode (#56774)
close pingcap/tidb#54961
2024-10-22 10:33:30 +00:00
827b533856 server: fix flaky test by using t.TempDir (#56737)
close pingcap/tidb#56735
2024-10-21 16:50:23 +00:00
53a4c3eded planner: play replay load restore the table with foreign key with right order. (#56457)
close pingcap/tidb#56456
2024-10-16 08:21:53 +00:00
7e00e81a3f infoschema_v2: remove schemaTableInfos call of DeadTableLockChecker (#55956)
ref pingcap/tidb#55394
2024-10-13 06:44:55 +00:00
1eb0c8c123 domain: fix play replay dump cannot save the table in the foreign key's reference (#56512)
close pingcap/tidb#56458
2024-10-09 13:38:43 +00:00
b427e33eb9 meta: separate reader and mutator (#56376)
ref pingcap/tidb#54436
2024-09-27 15:34:11 +00:00
adbc0034ff tests: reduce some flaky timeout tests (#56171)
ref pingcap/tidb#41316
2024-09-20 05:02:17 +00:00
67bee7c513 * : Remove binlog related codes (#55955)
close pingcap/tidb#55949
2024-09-20 04:11:57 +00:00
3176b9c263 *: move XXInfo/Job, etc, out from model pkg in parser to meta (#55754)
ref pingcap/tidb#54436
2024-09-04 04:49:45 +00:00
47ca7bec6b infoschema: use ListTablesWithSpecialAttribute instead of SchemaTableInfos (#55686)
* infoschema: use `ListTablesWithSpecialAttribute` instead of `SchemaTableInfos`

* revert

* refactor
2024-08-29 11:28:32 +08:00
f2856e3521 ddl: limit the count of getting ddlhistory jobs (#55590)
close pingcap/tidb#55711
2024-08-28 13:15:17 +00:00
37087225f5 ddl/domain: disallow set schema lease to 0 (#55312)
ref pingcap/tidb#54436
2024-08-12 04:03:08 +00:00
876268f619 *: add ctx parameter to infoschema TableByID (#55329)
ref pingcap/tidb#50959
2024-08-09 10:42:47 +00:00
dfa7ea6de0 *: replace ddl callback injection with failpoint (#55215)
ref pingcap/tidb#54436
2024-08-07 08:44:17 +00:00
d940b7ddc2 *: init ctx for extractWorker (#55228)
close pingcap/tidb#55217
2024-08-06 14:48:40 +00:00
6c3e25ebfe *: avoid using Tables field of model.DBInfo, use API instead (#52302)
close pingcap/tidb#52234
2024-07-25 10:57:06 +00:00
8f98b4eba3 ddl: decouple executor part out from ddl (#54858)
ref pingcap/tidb#54436
2024-07-24 13:45:05 +00:00
7ebd781493 infoschema,server: let SchemaSimpleTableInfos return error instead of panic (#54866)
close pingcap/tidb#54508
2024-07-24 12:58:35 +00:00
a18b3c54e9 *: remove infoschema.SchemaTables() API, replace it with SchemaTableInfos() (#54664)
ref pingcap/tidb#50959
2024-07-23 11:42:04 +00:00
9f1d9e6540 infoschema, http: add two HTTP API for keyvis (#54608)
close pingcap/tidb#54281
2024-07-16 13:33:07 +00:00
06e0e17d98 *: fix ctrl+c can not kill tidb during statistics init (#54594)
close pingcap/tidb#54589
2024-07-15 09:26:59 +00:00
e5a8a23e83 *: enable the predicate columns feature by default (#54440)
ref pingcap/tidb#53567
2024-07-12 09:23:28 +00:00
f490a98438 *: add context.Context parameter to infoschema TableByName (#54479)
ref pingcap/tidb#50959
2024-07-09 16:04:33 +00:00
184b010f80 rowcodec: E2E checksum introduce bytes-level checksum mechanism (#53931)
close pingcap/tidb#54054
2024-06-27 07:43:25 +00:00
770478537c store/copr: batch build coprocessor tasks (#54153)
close pingcap/tidb#53850
2024-06-24 14:10:21 +00:00
be804747e8 *: some tiny optimizations to reduce infoschema v2 memory (#53242)
ref pingcap/tidb#50959
2024-05-14 10:37:20 +00:00
81a7cf5548 variable: disable tidb_enable_historical_stats by default (#53046)
close pingcap/tidb#53048
2024-05-07 11:11:39 +00:00
07782971b9 server: Fix mppcoordinatorMananger server addr empty issue (#52632)
close pingcap/tidb#52608
2024-04-16 06:28:36 +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
40456f36fe *: make package sqlexec not depend on sessionctx anymore (#52031)
close pingcap/tidb#52029
2024-03-25 11:59:17 +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
27be90a6e8 *: use AllSchemaNames to replace AllSchemas (#51436)
ref pingcap/tidb#50959
2024-03-06 11:48:36 +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
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
b7ce239330 *: force_init_stats doesn't block http api's startup (#50853)
close pingcap/tidb#50854
2024-02-02 08:25:56 +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
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
a7ef915052 *: upgrade rules_go (#49693) 2023-12-27 02:15:28 +00:00
e3fdbbfc17 store/gcworker: remove green gc (#49333)
close pingcap/tidb#49330
2023-12-22 06:18:24 +00:00
4eada20dcc *: add unnecessary untracked files to .gitignore and clean up them (#49314)
close pingcap/tidb#49070
2023-12-11 07:22:54 +00:00
a6c60424c9 test: remove test files (extract and replayer) after running tests (#49132)
close pingcap/tidb#49127
2023-12-05 04:44:49 +00:00
330a5d5791 server: fix spell (#49095)
ref pingcap/tidb#44940
2023-12-01 10:09:05 +00:00
707f860527 util/rowcodec,tablecodec: remove stmtctx dependency from rowcodec and tablecodec (#48816)
close pingcap/tidb#48751
2023-11-23 10:19:13 +00:00