Commit Graph

980 Commits

Author SHA1 Message Date
acc3ae6229 *: don't use chunk rpc protocol for internal session (#31723)
close pingcap/tidb#30880
2022-01-18 10:49:44 +08:00
34ce5b5e60 topsql: optimize life cycle of stmtstats (#31727)
ref pingcap/tidb#31704
2022-01-17 21:11:45 +08:00
8ee88265cd planner, distsql: fix the Stale Read and Local Txn compatibility (#31606)
close pingcap/tidb#31604
2022-01-13 22:09:42 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
849b6ec0cb *: migrate sync.WaitGroup to util.WaitGroupWrapper (#31411)
ref pingcap/tidb#29517
2022-01-08 14:04:37 +08:00
5cd37f0008 session: fix data race in ParseWithParamsInternal (#31058)
close pingcap/tidb#30918
2022-01-06 21:02:37 +08:00
cfbe70846a config: remove new charset config (#31291)
close pingcap/tidb#31236
2022-01-06 13:26:37 +08:00
daa17c448d executor: Fix data race when getting snapshot ts in IndexLookupJoin and UnionExec (#30487)
close pingcap/tidb#30468
2022-01-05 19:20:37 +08:00
5317164135 executor, session: update stats delta for LOAD DATA command (#31146)
close pingcap/tidb#31118
2022-01-05 16:56:36 +08:00
b43c9ffa85 *: migrate sync.WaitGroup to util.WaitGroupWrapper (#31257)
ref pingcap/tidb#29517
2022-01-04 15:04:35 +08:00
1127977277 *: add global variable @@tidb_cache_table_lease for cached table (#31018)
close pingcap/tidb#29485
2022-01-01 16:13:51 +08:00
48fce5e15c *: sync wait stats loading for stable plan (#30026) 2021-12-31 10:35:50 +08:00
0ab0dad9da *: allow TiDB to use TiKV's RC for high performance read (#30943)
close pingcap/tidb#30942
2021-12-30 16:57:50 +08:00
088a2444df *: persist analyze options for manual and auto analyze (#30939) 2021-12-30 00:39:49 +08:00
608bdf39df session: show actual error in TestPessimisticLockNonExistsKey (#31140) 2021-12-29 20:49:51 +08:00
e9ab05f90f topsql: move topsql variable to topsql/state for avoid import cycle (#31134)
close pingcap/tidb#31136
2021-12-29 19:51:50 +08:00
f39a328152 session: forbid setting both tidb_snapshot and tidb_read_staleness (#31082) 2021-12-29 15:47:50 +08:00
fb03dacbca *: periodically dump column stats usage into disk (#31072) 2021-12-28 21:27:51 +08:00
807ca05230 sessionctx: enable IndexMerge by default (#30650)
close pingcap/tidb#29597
2021-12-27 12:19:49 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
4dc385ce8b test: merge serial tests in ddl, infoschema, session, store, table, telemetry and types (#30874) 2021-12-23 20:01:47 +08:00
0d899cdd9e planner: remove bindSQL from planCacheKey to planCacheValue (#30916) 2021-12-23 16:37:47 +08:00
7121bf0289 planner: fix index merge plan when expr cannot be pushed to tikv (#30341)
close pingcap/tidb#30200
2021-12-23 13:39:47 +08:00
713e6994db planner: rename pstmtPlanCacheXX to PlanCacheXX (#30909) 2021-12-22 18:59:48 +08:00
1f6d2ddfb9 *: Use TxnManager.GetTxnInfoSchema() to get the txn infoschema (#30934)
close pingcap/tidb#30933
2021-12-22 17:39:47 +08:00
529ce88c1c *: add TxnManager to manage txn in session (#30574)
* *: add TxnManager to manage txn in session

* modify

* add tests

* move failpoint content to a single file
2021-12-22 13:53:43 +08:00
2b7ce8e61f executor: fix the incorrect untouch used in optimistic transactions (#30447)
close pingcap/tidb#30410
2021-12-21 16:57:46 +08:00
fe1aaf2fd7 topsql: introduce stmtstats and sql execution count (#30277) 2021-12-21 15:43:47 +08:00
23c71f1a3b execute: don't transform charset in internal sql (#30843)
close pingcap/tidb#30789
2021-12-20 17:15:46 +08:00
866c5514af session: fix bootstrap to only persist global variables (#30593)
close pingcap/tidb#28667
2021-12-19 22:21:45 +08:00
43caa02f70 config, charset: make charset config not affected by collation config (#30572) 2021-12-16 15:32:35 +08:00
6eb11b300f *: implement renew write lock lease for cached table (#30206) 2021-12-16 12:12:35 +08:00
af259faacf planner: support the plan cache aware of bindings (#30169) 2021-12-16 10:18:35 +08:00
d660e483c2 sessionctx: fix the value of analyze_version when upgrading 4.x to 5.… (#30743) 2021-12-15 21:12:34 +08:00
950a274afc golangci-lint: support durationcheck (#30027) 2021-12-14 21:10:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
1f26870ccb *: migrate sync.WaitGroup to util.WaitGroupWrapper (#30644) 2021-12-13 12:04:34 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
e520e46614 planner/core, session: fix error message of wrong variable scope (#30510) 2021-12-08 14:53:57 +08:00
891517f23e config: make EnableSlowLog atomic (#30346) 2021-12-03 11:47:54 +08:00
cbe5240dd0 session, sessionctx/variable: fix validation recursion bug (#30293) 2021-12-02 18:47:54 +08:00
7fc6ebbda4 privilege, session, server: consistently map user login to identity (#30204) 2021-11-30 17:01:53 +08:00
b11171aa71 topsql: distinguish the row and index operation type (#29044) 2021-11-24 10:17:51 +08:00
2d2fba5ee0 telemetry, session : add telemetry for cache table feature (#29963) 2021-11-22 14:03:49 +08:00
fac9c427e6 session, sessionctx/variable: add relaxed validation for global vars (#29594) 2021-11-18 18:31:48 +08:00
3d9196ddea *: allow setting @@tidb_tso_client_batch_max_wait_time to a float millisecond (#29699) 2021-11-14 03:29:05 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00
fdfba3e4fa expression: Optimize code if else branch logic (#28969) 2021-11-08 11:13:03 +08:00
fb33b7c012 session: remove extra useless tso request (#29393) 2021-11-03 17:21:01 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00