Commit Graph

2152 Commits

Author SHA1 Message Date
4235034b40 util: fix the issue that memory usage not released after tracker Detach (#34592)
ref pingcap/tidb#34571
2022-05-13 18:42:36 +08:00
19b85656d8 *: use generics to improve Clamp (#34586)
close pingcap/tidb#34588
2022-05-13 17:28:35 +08:00
50f3d8faf8 *: retry auto-analyze with adjusted samplerate when oom panic (#34387)
close pingcap/tidb#29938
2022-05-11 18:08:34 +08:00
9e7c9519da topsql: fix memory leak in stmtstats (#34558)
ref pingcap/tidb#34502, ref pingcap/tidb#34525
2022-05-11 16:48:34 +08:00
48e94a18f7 dumpling: support init tls without client kay/certs (#34483)
close pingcap/tidb#34530
2022-05-11 11:44:34 +08:00
33236ba8d7 *: track analyze memory usage separately with quota (#33054)
ref pingcap/tidb#29938, close pingcap/tidb#33065
2022-05-10 20:32:35 +08:00
73f3435346 ddl: move some admin function to ddl (#34527)
close pingcap/tidb#34526
2022-05-10 18:14:34 +08:00
ede6f8cf16 *: Support modify table/column charset from latin1 to utf8/utf8mb4 (#34386)
ref pingcap/tidb#34008
2022-05-10 13:00:35 +08:00
c16291392a *: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse (#34494)
close pingcap/tidb#34490
2022-05-09 22:00:33 +08:00
20ecaef36d ddl: add require owner interface (#34407)
ref pingcap/tidb#32031
2022-05-09 18:48:33 +08:00
6c30303937 session: refine non-transactional delete (#34273)
ref pingcap/tidb#33485
2022-05-09 13:30:34 +08:00
0f0a2ca774 statistics: add lru cache implement for statsCacheInner (#34323)
ref pingcap/tidb#34052
2022-05-06 16:22:56 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
4b917c47ec util/codec: Fix analyze table for partitioned table with datetime column and version 1 (#34228) (#34364)
close pingcap/tidb#34228
2022-05-05 20:18:56 +08:00
ad6d620f74 util: support spill offset into disk when spilling (#34212)
ref pingcap/tidb#33877
2022-05-05 17:26:55 +08:00
4e21680458 log: avoid panic on unknown log format (#34360)
close pingcap/tidb#34359
2022-05-04 10:14:54 +08:00
dd01b5586e util: improve stack message in the panic log (#34357)
close pingcap/tidb#34356
2022-05-03 11:28:53 +08:00
6d8669e987 *: Add support for GET_LOCK() / RELEASE_LOCK() / RELEASE_ALL_LOCKS() (#33947)
close pingcap/tidb#14994
2022-04-29 23:12:53 +08:00
090feabf7c ddl: truncate the table/column comment if exceeding maximum length (#30973)
close pingcap/tidb#30819
2022-04-28 21:12:52 +08:00
6da6e5a571 *: fix build tag by run gofix (#34260)
ref pingcap/tidb#31716
2022-04-27 18:02:52 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
fb342ff861 topsql: fix issue of topsql failed catch the running SQL when topsql is enabled in execution (#33861)
close pingcap/tidb#33859
2022-04-26 13:16:51 +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
ffa4ba91e3 parser: turn some functions into member functions of model.Job (#34175)
ref pingcap/tidb#31716
2022-04-24 14:42:49 +08:00
9478a6bfaf util: track the memory usage of rowPtrs in sortedRowContainer (#34128)
ref pingcap/tidb#33877
2022-04-21 13:36:03 +08:00
a5033d14d0 *: use global auto analyze ID in order to kill auto analyze globally (#34075)
close pingcap/tidb#34076
2022-04-20 17:58:03 +08:00
d63a5fd33d executor: add some memory tracker in HashJoin (#33918)
ref pingcap/tidb#33877
2022-04-19 23:28:03 +08:00
645ae1ce19 *: implement non-transactional delete (#33736)
ref pingcap/tidb#33485
2022-04-15 20:06:36 +08:00
88c18ea01f util: Adjust the minimum TLS version supported by TiDB tools from 1.0 to 1.2 (#33997)
close pingcap/tidb#33996
2022-04-15 19:46:36 +08:00
4844c833a9 executor: fix CTE race case by avoiding reopen iterInTbl (#33731)
close pingcap/tidb#33193
2022-04-15 18:02:36 +08:00
b5de819d00 util: fix memory.reArrangeFallback cpu usage (#30414)
close pingcap/tidb#30353
2022-04-15 12:48:35 +08:00
7a9d5b750e util/sem: add tidb_audit_redact_log to invisible sysvars (#33712)
close pingcap/tidb#33711
2022-04-14 12:56:35 +08:00
1dc419a5f1 util: migrate importer and watcher from tidb-tools to tidb (#33846)
close pingcap/tidb#32999
2022-04-14 12:02:36 +08:00
8f5582a1ef topsql: make TestPProfCPUProfile test stable (#33810)
close pingcap/tidb#33808
2022-04-13 18:44:36 +08:00
9c836a5ddf session, statistics, util: fix data race of Handle.mu.ctx (#33732)
ref pingcap/tidb#32822, close pingcap/tidb#32867, ref pingcap/tidb#33001
2022-04-13 15:36:36 +08:00
67b073425f ddl: fix inappropriate schema state output by admin show ddl jobs (#33850)
ref pingcap/tidb#23494, close pingcap/tidb#24420
2022-04-11 15:26:34 +08:00
53fc1177c3 fastrand: optimize Buf (#33263)
close pingcap/tidb#33240
2022-04-11 12:56:34 +08:00
942f4d1150 util/ddl-checker: fix DATA RACE in TestExecute (#33781)
close pingcap/tidb#33701
2022-04-07 18:34:32 +08:00
a936646c99 ddl: support specifying expr rand() as column default value (#32608)
close pingcap/tidb#10377
2022-04-07 16:16:32 +08:00
fef98f2239 domain,server,session: optimize gc safepoint advancing for internal transaction (#32726)
close pingcap/tidb#32725
2022-04-07 14:14:32 +08:00
1c658e5eb6 executor: migrate test-infra to testify for executor_test.testSuite(6|8) (#33713)
close pingcap/tidb#33433, close pingcap/tidb#33434
2022-04-06 11:34:31 +08:00
60066398fd util: refactor TestExecute to fix data race (#33702)
close pingcap/tidb#33701
2022-04-03 18:42:30 +08:00
bc43647f31 util: migrate column-mapping and ddl-checker from tidb-tools to tidb (#33659)
close pingcap/tidb#32999
2022-04-02 20:04:29 +08:00
0beac1800c expression: fix the wrong rounding behavior of Decimal (#33278)
close pingcap/tidb#32213
2022-04-02 14:32:29 +08:00
17a9fc4adf executor: improve UnionScanRead performance (#32668)
ref pingcap/tidb#32433
2022-04-01 11:02:30 +08:00
b35b30bbd5 executor: support extractor for mem table region status (#33498)
close pingcap/tidb#33348
2022-03-30 16:12:29 +08:00
fbaaa11179 util: fix GetTimeZoneOffset error when migrating repo (#33562)
ref pingcap/tidb#32999
2022-03-29 19:04:28 +08:00
a4e09f60a4 util: migrate test-infra to testify for selector_test.go (#33505)
close pingcap/tidb#33460
2022-03-29 00:52:28 +08:00
5c931aadc8 Revert "topsql: enable topsql feature by default (#33195)" (#33493)
close pingcap/tidb#33492
2022-03-28 22:44:27 +08:00
4d20826f47 util: migrate test-infra to testify for util/schemacmp pkg (#33476)
close pingcap/tidb#33457
2022-03-27 17:14:34 +08:00