Commit Graph

1050 Commits

Author SHA1 Message Date
d9c6d7aba0 session: release lock correctly for tidb to exit (#34126)
close pingcap/tidb#34123
2022-04-20 14:52:03 +08:00
281aa9c17b seesion: skip invisible index when selecting shard column for non-transactional DML (#34102)
ref pingcap/tidb#33485
2022-04-20 14:36:03 +08:00
e21b435d0c *: fix index join on partition table data race (#33979)
ref pingcap/tidb#32846, close pingcap/tidb#33751, ref pingcap/tidb#33762
2022-04-19 09:48:02 +08:00
e10ad28057 session: optimize the sharding algorithm for non-transactional DMLs (#34050)
ref pingcap/tidb#33485
2022-04-18 15:36:03 +08:00
4d3a3c259a server: use max_allowed_packet to limit the packet size. (#33651)
close pingcap/tidb#31422
2022-04-18 11:24:03 +08:00
645ae1ce19 *: implement non-transactional delete (#33736)
ref pingcap/tidb#33485
2022-04-15 20:06:36 +08:00
b5de819d00 util: fix memory.reArrangeFallback cpu usage (#30414)
close pingcap/tidb#30353
2022-04-15 12:48:35 +08:00
c56c036d2a *: refactor placement bundle in infoschema (#33967)
close pingcap/tidb#33968
2022-04-15 11:04:35 +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
0ae7cfb81d session: fix potential deadlock in execStmtResult (#33848)
close pingcap/tidb#33847
2022-04-12 17:20:35 +08:00
181bfb73f7 *: polish the table cache feature code (#33408)
close pingcap/tidb#33167
2022-04-08 21:46:33 +08:00
38cb0e345d *: fix wrong modification for introduced from #33818 (#33831)
close pingcap/tidb#33814
2022-04-08 17:50:33 +08:00
f04dfc4c6d *: forbid using cache when stale read in binary proto (#33818)
close pingcap/tidb#33814
2022-04-08 16:04:32 +08:00
dbd8f15302 *: Add support for execute prepared statement to staleread.Processor (#32941) 2022-04-07 14:33:19 +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
967d2039f1 *: Refactor session#domainMap use RWMutex to replace Mutex (#33739)
close pingcap/tidb#33737
2022-04-06 23:38:31 +08:00
b37b3b1afc session, sessionctx: Make sysvar tidb_read_staleness TypeInt (#32794)
close pingcap/tidb#32763
2022-04-06 14:54:31 +08:00
0f4706418e *: track cluster-level analyze jobs and make it persistent (#32215)
close pingcap/tidb#32403
2022-03-31 21:06:29 +08:00
e15e6d0358 session: fix tables_priv table schema (#33599) 2022-03-30 23:28:49 +08:00
09edaee061 store: avoid setting ratelimit action in tracker when disabled (#31110)
ref pingcap/tidb#30353
2022-03-29 11:02:30 +08:00
5c931aadc8 Revert "topsql: enable topsql feature by default (#33195)" (#33493)
close pingcap/tidb#33492
2022-03-28 22:44:27 +08:00
060413bc13 server: refine plan replayer dump file (#33497)
ref pingcap/tidb#26335
2022-03-28 16:56:28 +08:00
3206d51520 session: lower innodb-lock-wait-timeout MaxValue to match max-txn-ttl (#33473)
close pingcap/tidb#33472
2022-03-26 14:48:33 +08:00
843b0f43db executor: migrate test-infra to testify for executor_test.go testSuiteWithData (#33402)
ref pingcap/tidb#28577
2022-03-25 14:06:33 +08:00
bd008d240b session: forbid plan cache in stale read (#33273)
close pingcap/tidb#31550
2022-03-22 10:42:32 +08:00
f6a44bf72c *: add limitation for UserName and HostName. (#33224)
close pingcap/tidb#32682
2022-03-21 16:06:33 +08:00
cd9c04a086 domain, session: clean up in BootstrapSession (#33234)
close pingcap/tidb#33235
2022-03-21 11:22:32 +08:00
3058104232 ddl: disable some DDL operation when a table is cached (#32827)
close pingcap/tidb#32826
2022-03-17 18:04:31 +08:00
44cf3986e3 topsql: enable topsql feature by default (#33195)
close pingcap/tidb#33194
2022-03-17 15:26:31 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
4cb1b94cc7 bootstrap: correctly increment the bootstrap version (#33184)
close pingcap/tidb#33163
2022-03-17 14:52:31 +08:00
eb4cfcec78 telemetry, session: add telemetry collector for placement policies (#33165)
close pingcap/tidb#33188
2022-03-17 14:30:31 +08:00
d4d43ba0b4 txn: support read consistency read with ts checking (#32922)
close pingcap/tidb#33159
2022-03-16 20:49:52 +08:00
d981c0e06a sysvar: add INSTANCE scope for system variable (#32888)
ref pingcap/tidb#32887
2022-03-16 11:15:52 +08:00
2ae71323cf sessionctx: make builtinFunctionUsage thread safe (#33032)
close pingcap/tidb#33027
2022-03-16 10:27:52 +08:00
e87bb52a6a bindinfo: refactor some codes in bindinfo package (#33094) 2022-03-15 20:55:23 +08:00
ecffe84a73 table/tables: fix a corner case of renew lease operation on cached table (#32643)
close pingcap/tidb#32642
2022-03-15 18:05:53 +08:00
678397ba62 planner: ignore close-stmt to make more queries can hit plan cache (#32928) 2022-03-15 14:13:20 +08:00
328a8bcab8 copr: split copr requests by buckets (#32818)
close pingcap/tidb#32968
2022-03-11 17:01:51 +08:00
fcf7bd8c88 sysvar: rename sysdate_is_now as tidb_sysdate_is_now (#32957)
close pingcap/tidb#31872
2022-03-11 11:19:50 +08:00
22f4c33d40 *: better handle sysvar upgrades from older versions (#31583)
close pingcap/tidb#31538
2022-03-10 23:59:51 +08:00
27eed7af0a session: migrate test-infra to testify for isolation_test.go (#32481)
close pingcap/tidb#28324, close pingcap/tidb#32069
2022-03-10 15:05:50 +08:00
a1d8f2f3ac *: remove ddl dependency (#32910)
ref pingcap/tidb#31716
2022-03-09 08:15:48 +08:00
d0e8a53f55 planner: update the structure of the plan cache key (#32665)
ref pingcap/tidb#31056
2022-03-07 18:01:50 +08:00
4be9e30b0a bindinfo: rename Using status to Enabled status (#32801)
ref pingcap/tidb#32466
2022-03-07 17:21:49 +08:00
62e20780e8 *: kill auto analyze (#31724)
close pingcap/tidb#32808
2022-03-07 13:49:48 +08:00
493eb45c75 *: table partition dynamic prune mode with Physical Table ID from unistore (#31634)
close pingcap/tidb#29851
2022-03-04 01:21:46 +08:00
fc6b939ecc planner: introduce historical meta stats auto-dump (#32041)
ref pingcap/tidb#18745
2022-03-03 19:05:47 +08:00
17106ff226 *: remove skipping for data race test (#32736)
ref pingcap/tidb#31716
2022-03-02 15:55:46 +08:00
584ae75df5 *: use session time_zone for is.tables and show table status (#32449)
ref pingcap/tidb#26642
2022-03-01 06:09:45 +08:00