Commit Graph

721 Commits

Author SHA1 Message Date
1cf4fcfa73 *: support prepared plan cache for cached table (#32139)
close pingcap/tidb#32003
2022-02-14 12:29:37 +08:00
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
9c64224c49 *: Reduce data inconsistencies (#31547)
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
d8fd06dc84 metrics,executor: add metrics for reading from table cache (#32171)
close pingcap/tidb#29958
2022-02-11 12:17:36 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
c36ef357d8 table: remove some unused index functions (#31957)
ref pingcap/tidb#30437
2022-01-26 13:34:45 +08:00
5055177180 *: clean code (#31903)
ref pingcap/tidb#31716
2022-01-23 16:53:47 +08:00
ab30467384 table: Avoid encode KindMaxValue of string type (#31743)
close pingcap/tidb#31721
2022-01-18 14:47:44 +08:00
465f655889 * : replace fmt.Sprint with strconv (#31718)
ref pingcap/tidb#31716
2022-01-17 15:11:44 +08:00
acff9c3cff *: Change stmt summary and capture plan baselines to GLOBAL only (#30756) 2022-01-12 13:29:42 +08:00
6b1010f405 *: enable golangci-lint prealloc (#31521)
close pingcap/tidb#29004
2022-01-11 01:09:41 +08:00
d6753af3cf table/tables: avoid repeated renew lease operation for cached table (#31475)
close pingcap/tidb#31474
2022-01-08 15:06:37 +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
9ffeff2857 types: convert to new charset before inserting to blob or json column (#31031)
close pingcap/tidb#30690
2021-12-30 21:35:50 +08:00
eeedd81fc2 ddl,table: add check for cached table size limit (#31067)
close pingcap/tidb#30962
2021-12-30 17:39:50 +08:00
88232307df executor: fix stmt summary nil pointer panic on the cached table (#31079)
close pingcap/tidb#31077
2021-12-29 15:31:50 +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
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
2fb260f0eb table/tables: make CI TestCacheTableBasicReadAndWrite more stable (#30924)
close pingcap/tidb#30922
2021-12-23 00:31:49 +08:00
d543b60464 parser: add IsValid() to Encoding to speed up string validation for UTF-8 (#30937)
close pingcap/tidb#30936
2021-12-22 18:19:48 +08:00
9063d3b837 table: set the datum collation correctly in CastValue() (#30931)
close pingcap/tidb#30930
2021-12-22 16:05:47 +08:00
46e67db084 Makefile: add t.Parallel check to ensure tests are run in serial (#30869) 2021-12-22 14:35:47 +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
ab35db14a6 *: refactor encoding and uniform usages (#30288) 2021-12-20 15:27:46 +08:00
6eb11b300f *: implement renew write lock lease for cached table (#30206) 2021-12-16 12:12:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
9d4da4f3fb *: query failed after add index / timestamp out-of-range (#28424) (#29323) 2021-12-10 17:49:57 +08:00
9a074f1dbe *: use the real StateRemote interface implementation for cached table (#30066) 2021-12-10 16:55:57 +08:00
426a527a93 * : statement summary should know the slow write is blocked on read lock lease (#30166) 2021-12-01 09:47:53 +08:00
724da32b12 tables: fix data race in mockStatRemoteData (#30180) 2021-11-29 11:59:53 +08:00
7f93b09efd table/tables: add StateRemote interface for the cached table (#29152) 2021-11-25 14:17:50 +08:00
9cd0b49f7f partition: Show partition reformat (#29945) 2021-11-25 04:21:50 +08:00
8b028b899d *: replace compareDatum by compare (#30060) 2021-11-23 17:49:50 +08:00
c48db39846 *: support renew lease for read operation on cached table (#29840) 2021-11-22 22:37:49 +08:00
c835349972 table, parser: check for invalid GBK characters before insertion (#28814) 2021-11-22 13:29:49 +08:00
b5d336c5e5 *: contains update/delete point get should not trigger table cache condition (#29815) 2021-11-16 12:51:07 +08:00
9c683d3f67 dml : Support point get / batch point get for cache table (#29703) 2021-11-15 15:49:07 +08:00
2409c83381 *: fix staled table cache usage inside a transaction (#29443) 2021-11-11 18:23:05 +08:00
00d0f14242 table/tables: make CI stable for table/tables package (#29688)
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-11-11 15:28:24 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00
bbea5a794e dml : cache table reads data from the original table in a new transaction (#29575) 2021-11-09 16:47:06 +08:00
9f68c8e92a plan,table : support write operator for cache table and mock lockwrite state (#29444) 2021-11-08 16:11:04 +08:00
a78e7fe572 *: insert/update or explain should not trigger table cache condition (#29477) 2021-11-08 12:35:03 +08:00
9bbc7ad74a dml : dml read operation for cache table (#29184) 2021-11-04 12:07:01 +08:00
cf21dea489 test: tests call collate.SetNewCollationEnabledForTest should run in serial (#29325) 2021-11-03 11:47:01 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
4879be763b infoschema: fix inserting into a temporary table panics after the database is dropped (#29263) 2021-11-01 14:40:51 +08:00