Commit Graph

1469 Commits

Author SHA1 Message Date
3ca5d3d618 planner,txn: fix the bug that RESOURCE_GROUP() hint can not take effect for write … (#44513)
close pingcap/tidb#44512
2023-06-15 09:31:10 +00:00
bb68e2e8a9 session: fix the memory tracker leak in prepare binary protocol (#44618)
close pingcap/tidb#44612
2023-06-13 10:39:17 +00:00
1837efe528 resource_control: use const default resource group name (#44526)
ref pingcap/tidb#43691
2023-06-13 08:37:15 +00:00
d58e752fdc test: mock multiple servers running dist task and ddl (#44326)
ref pingcap/tidb#44399
2023-06-13 08:37:07 +00:00
ce174c65f2 Import into: add job management statement (#44453)
ref pingcap/tidb#42930
2023-06-12 13:47:07 +00:00
c18e60f46b ddl, session: fix re-upgrade issues (#44469)
* ddl, session: fix re-upgrade issues
2023-06-12 16:10:21 +08:00
c7f2a2317d linter: enable early return (#44564)
close pingcap/tidb#40786
2023-06-12 05:43:05 +00:00
437157e720 *: fix cte miss cleaning spilled-disk file (#44501)
close pingcap/tidb#44477
2023-06-08 11:59:07 +00:00
1e98f86063 *: add expensive_txn log and metric for long-running transaction (#44248)
close pingcap/tidb#41471
2023-06-08 08:50:49 +00:00
3c50d5130b session, ddl: fix the nil point in TxnInfo (#44486)
close pingcap/tidb#43829
2023-06-08 04:49:41 +00:00
47778c5ef5 ddl, session: after upgrades, the order of processing on different tables is also more as expected (#44305)
close pingcap/tidb#44304
2023-06-05 08:49:40 +00:00
66054033c6 *: add wait lock time in tidb_trx (#43105)
close pingcap/tidb#43104
2023-06-02 22:55:39 +00:00
9151f91771 txn: delete useless SetTxnInfoSchema in TxnManager (#44362)
close pingcap/tidb#44361
2023-06-02 08:10:44 +00:00
4c83352678 *: Introduce runaway statement in resource group (#43843)
ref pingcap/tidb#43691
2023-05-31 11:16:42 +00:00
4714df8a83 executor: fix issue of can not get the TxnStart if the SQL has a non-related subquery (#44232)
close pingcap/tidb#40851
2023-05-29 09:10:41 +00:00
65959f3e91 ddl: fix a bug that upgrade the node when there is a paused job. (#44231)
close pingcap/tidb#44225
2023-05-29 08:36:41 +00:00
df91517d9a statistics: add idx_create_time for stats_meta_history and stats_history (#44195)
close pingcap/tidb#44169
2023-05-26 02:55:40 +00:00
8215c5cc44 *: Fix a bug when have a lot of jobs in upgrading state (#44162)
close pingcap/tidb#44159
2023-05-25 13:03:40 +00:00
cd834eec65 import into: impl IMPORT INTO statement part 1 (#44122)
ref pingcap/tidb#42930
2023-05-25 05:45:38 +00:00
6e11eefcfc loaddata: don't split transaction and revert some change (#44136)
ref pingcap/tidb#44078
2023-05-25 03:43:38 +00:00
38522b522a ddl: update run DDL job log back to info level and SupportUpgradeStateVer (#44121)
close pingcap/tidb#44120
2023-05-24 05:07:38 +00:00
0ac7473ec9 loaddata: revert concurrent writing to TiKV and WITH detached (#44056)
ref pingcap/tidb#44078
2023-05-23 06:43:38 +00:00
94371a4ecc *: unify logs when the cluster is upgrading state (#44016)
close pingcap/tidb#44017
2023-05-19 17:21:36 +00:00
acc8f88097 session: del NO_BACKSLASH_ESCAPES sql mode for internal sql (#43966)
close pingcap/tidb#43392
2023-05-19 03:49:36 +00:00
334d21fda0 ddl: better approach to pause or resume ddl jobs during upgrade (#43907)
close pingcap/tidb#43897
2023-05-18 14:17:36 +00:00
a60cf97237 disttask: add finish flow for distribute framework (#43676)
close pingcap/tidb#43675
2023-05-15 13:33:17 +00:00
0f7bb0a112 *: improve schema test by more shard (#43830) 2023-05-15 12:13:17 +00:00
50b698708e *: ignore some ttlworker in the goleak (#43795)
close pingcap/tidb#43053
2023-05-15 04:53:16 +00:00
Hu#
0af1bd701e bind: fix global binding hint for resource groups (#43738)
ref pingcap/tidb#38825, close pingcap/tidb#43736
2023-05-12 12:42:22 +00:00
1bc3848202 session: fix TestUpgradeWithPauseDDL data race (#43704)
close pingcap/tidb#43703
2023-05-11 06:31:22 +00:00
4314687305 *: Update bootstrap and support pause user DDL when upgrading TiDB (#43666)
close pingcap/tidb#43665
2023-05-10 17:07:21 +00:00
7caffd9ba4 privilege, server: support LDAP authentication (#43582)
close pingcap/tidb#43580
2023-05-10 14:51:21 +00:00
0950948125 *: enable mirror linter (#43644)
ref pingcap/tidb#40786
2023-05-09 10:23:05 +00:00
b901431398 *: use time.DateTime,time.DateOnly to replace magic number (#43505) 2023-05-04 03:21:55 +00:00
93966501e5 session: change some privilege columns to case-insensitive (#43443)
close pingcap/tidb#41048
2023-04-27 12:29:53 +00:00
91bf358f7e session: add mock upgrading code for testing (#43419)
close pingcap/tidb#43418
2023-04-26 10:05:52 +00:00
7c5e7ea851 linter: enable revive for session (#43420)
ref pingcap/tidb#40786
2023-04-26 05:53:52 +00:00
a64b149fa2 ddl: set lossy DDL change source for column worker (#43232)
close pingcap/tidb#43227
2023-04-26 04:19:51 +00:00
0b8f8807d0 *: add a new variable to control whether to invalidate plan cache when related table analyzed (#43390)
close pingcap/tidb#43295
2023-04-25 10:31:54 +00:00
04e9dfb2ed test: fix the plan for IndexLookUp test not include IndexLookUp (#43317) 2023-04-23 05:52:44 +00:00
2e9b692d83 session: add more log for internal sql when parse failed (#43282)
close pingcap/tidb#43283
2023-04-21 17:53:20 +08:00
2021b31bdc *: support error handling for distributed adding index (#43075)
close pingcap/tidb#42436, close pingcap/tidb#43029
2023-04-20 17:35:20 +08:00
0423a09188 planner, statistics: add more debug trace (#43200)
ref pingcap/tidb#43069
2023-04-20 06:11:20 +08:00
d6dfb1607c copr: set the default value of load-based replica read threshold to 1s (#43149)
close pingcap/tidb#43148
2023-04-20 01:01:19 +08:00
bcd2233901 *: format the error message when query/instance exceeds memory quota (#43182)
close pingcap/tidb#42044
2023-04-19 23:13:32 +08:00
cd33faf209 planner: enable non-prep plan cache by default (#43145)
ref pingcap/tidb#36598
2023-04-19 21:25:20 +08:00
cf8a941d10 testenv: unite all GOMAXPROCS at test (#43175) 2023-04-19 16:49:35 +08:00
6d6c6072d9 planner: introduce a new variable tidb_session_plan_cache_size (#43140)
ref pingcap/tidb#36598
2023-04-18 19:13:20 +08:00
b1e6fe72f3 planner: non-prep and prep statements use the same unified plan cache (#43094)
ref pingcap/tidb#36598
2023-04-17 22:51:26 +08:00
5322b51bd8 *: add debug trace to plan replayer (#43048) 2023-04-17 19:55:26 +08:00