Commit Graph

99 Commits

Author SHA1 Message Date
5b82653605 *: Setup Global Resource Controller (#40732)
close pingcap/tidb#40731
2023-01-20 17:03:50 +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
621115bf67 ttl, variables: add system variables for ttl job schedule (#39727)
close pingcap/tidb#39725
2022-12-13 14:28:51 +08:00
442c044504 sessionctx: add TiDBDDLEnableDistributeReorg flag (#39663)
ref pingcap/tidb#37120
2022-12-07 12:10:04 +08:00
9784615566 ddl: Add index fast path to be a default add index path (#39267)
ref pingcap/tidb#35983
2022-11-23 15:45:58 +08:00
f4fa4141b5 sessionctx: support parse more format for memory limit systemvar (#38965)
ref pingcap/tidb#37816
2022-11-22 14:07:58 +08:00
bc7d0aa935 variable: add global scope for tidb_opt_agg_push_down (#38868)
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-11-03 17:47:34 +08:00
60b2aa6bc9 sessionctx: support bytes format and percentage format for tidb_server_memory_limit (#38655)
ref pingcap/tidb#37816
2022-11-02 11:41:59 +08:00
dd65832136 *: add context for hook of getting/setting variables (#38379)
close pingcap/tidb#38378
2022-10-18 16:43:53 +08:00
e7b0eb53b1 config: fix data race raised by EnableCollectExecutionInfo (#38409)
close pingcap/tidb#38408
2022-10-12 17:17:51 +08:00
d10e195e20 util: record more information before OOM (#37987)
ref pingcap/tidb#37409
2022-10-12 10:45:50 +08:00
227cad20af variable: allow setting system variable lc_messages (#38247)
close pingcap/tidb#38231
2022-10-08 14:51:48 +08:00
5c4b328b02 variables: enable variable hook to access storage (#38227)
close pingcap/tidb#38225
2022-10-01 02:35:45 +08:00
4e4169bcc5 *: support global memory control for tidb (#37794)
ref pingcap/tidb#37816
2022-09-26 12:01:43 +08:00
f61024b2dc variables: change tidb_rc_read_check_ts to instance level (#37803)
close pingcap/tidb#37802
2022-09-16 18:28:59 +08:00
c646842f29 sessionctx: Change default tidb_partition_prune_mode from static to dynamic (#37712)
close pingcap/tidb#37713
2022-09-14 20:00:59 +08:00
d86e7956d4 *: support send flashback cluster RPC (#37659)
close pingcap/tidb#37651, close pingcap/tidb#37665
2022-09-09 11:40:56 +08:00
9036de3394 *: support create table with foreign key and maintain foreign key reference (#37148)
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
a2ca4a89fb sessionctx/variable: improve test coverage (#36828)
ref pingcap/tidb#35051
2022-08-31 11:50:24 +08:00
2c22fff571 sessionctx/variable: fix range check for @@timestamp (#37249)
close pingcap/tidb#31585
2022-08-23 16:30:20 +08:00
21847fe58b planner: set EnableOuterJoinReorder to false by default (#37264)
ref pingcap/tidb#37238
2022-08-22 19:30:20 +08:00
323fdb224d ddl: add index acceleration introduce sysvars and config param (#36088)
ref pingcap/tidb#35983
2022-08-12 15:44:49 +08:00
d67e29e658 sessionctx/variable: remove further skipinit (#36199)
ref pingcap/tidb#35051
2022-08-10 14:22:48 +08:00
8fdd64ea9e sessionctx/variable: Add tests for instance scoped config uniformity (#36796)
close pingcap/tidb#36795
2022-08-02 17:40:05 +08:00
0b1d3e0da3 *: cleanup sysvar API usage (#36640)
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
bdc6397023 executor: support tidb memory debug mode (#35322)
ref pingcap/tidb#33877
2022-07-13 12:33:06 +08:00
dced89a231 planner/core, planner, sessionctx/variable: remove more skipInit (#35992)
ref pingcap/tidb#35051
2022-07-13 11:27:05 +08:00
2eb101abcf sessionctx/variable: remove skipInit from non-session scoped variables (#35801)
ref pingcap/tidb#35051
2022-07-07 00:01:02 +08:00
a5e973ca5a sessionctx/variable: convert TiDBLogFileMaxDays and TiDBConfig to ScopeInstance (#35733)
close pingcap/tidb#35190
2022-07-06 17:11:02 +08:00
b40fc86538 session, sessionctx/variable: ensure sysvars are always in lower case (#35659)
close pingcap/tidb#35658
2022-07-06 16:49:02 +08:00
27e7bbdd4e sessionctx/variable: add tests to ensure skipInit can be removed (#35703)
ref pingcap/tidb#35051
2022-06-28 16:40:40 +08:00
233a7335fd sessionctx/variable, ddl: fix sysvar API usage (#35052)
ref pingcap/tidb#35051
2022-06-06 10:34:29 +08:00
0017963ddd *: move config file option committer-concurrency to sysvar (#34368)
ref pingcap/tidb#33769
2022-05-14 04:36:37 +08:00
98c31070d9 sysvar, sysvar_test: fix tidb_mem_quota_query min/max value (#34554)
fixes pingcap/tidb#34553
2022-05-12 00:08:35 +08:00
698a4ffe00 *: move config file option query-log-max-len to sysvar (#34305)
ref pingcap/tidb#33769
2022-05-04 00:46:54 +08:00
0d5ac6f3cb sysvar, config: mapping config settings to system variables. (#33279)
ref pingcap/tidb#32887
2022-04-29 13:20:52 +08:00
91cb86e3cf domain, sessionctx/variable: make code DRY (#33897)
close pingcap/tidb#33896
2022-04-28 20:26:52 +08:00
20a58199cf *: move config file option mem-quota-query to sysvar (#34141)
ref pingcap/tidb#33769
2022-04-26 03:58:50 +08:00
f10db388c5 variable: make lc_messages read only (#33708)
close pingcap/tidb#33707
2022-04-25 11:32:49 +08:00
d981c0e06a sysvar: add INSTANCE scope for system variable (#32888)
ref pingcap/tidb#32887
2022-03-16 11:15:52 +08:00
7fcdab6002 ddl: add limiter when setting TiFlash replicas for all tables in a database (#32526)
ref pingcap/tidb#32254
2022-03-11 10:47:50 +08:00
22f4c33d40 *: better handle sysvar upgrades from older versions (#31583)
close pingcap/tidb#31538
2022-03-10 23:59:51 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
203ab22982 *: move the functions that only used in tests (#31929)
ref pingcap/tidb#28720
2022-01-24 22:08:11 +08:00
1a146fabd7 variables: add constraints on tidb_super_read_only when tidb_restricted_read_only is turned on (#31746)
close pingcap/tidb#31745
2022-01-20 12:13:45 +08:00
a0e31aa987 *: fix data race in the CheckMb4ValueInUTF8 (#31781)
close pingcap/tidb#31780
2022-01-19 17:33:45 +08:00
f3839df729 sysvar: add value limitation for net_buffer_length (#31675)
close pingcap/tidb#31421
2022-01-14 17:37:42 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
xhe
1ffd6c0738 sysvar: bypass validation for noop variables (#31566)
close pingcap/tidb#31538
2022-01-11 22:43:42 +08:00