Commit Graph

18302 Commits

Author SHA1 Message Date
b0245cda58 *: clean up coprocessor streaming code (#35277)
close pingcap/tidb#35276
2022-06-10 10:50:31 +08:00
af48312465 log: add isPessimistic field in general log (#34972)
close pingcap/tidb#34971
2022-06-09 19:52:30 +08:00
c1728d7de1 br: add summary to stream restore (#35237)
close pingcap/tidb#35236
2022-06-09 18:08:30 +08:00
017ac90e67 planner: introduce some new variables for the cost model version2 (#35241)
ref pingcap/tidb#35240
2022-06-09 17:52:30 +08:00
76e25d2847 executor: unstable test TestFlushTables move to standalone sandbox (#35246)
ref pingcap/tidb#35247
2022-06-09 16:54:30 +08:00
6432975be3 *: enable race test on util/chunk and update bazel config (#35235)
ref pingcap/tidb#35234
2022-06-09 16:32:31 +08:00
6cd02fab55 tables: remove a useless test (#35125)
ref pingcap/tidb#35103
2022-06-09 16:06:32 +08:00
4d8cf5e1e2 metrics: add a config to unregister the unused metrics (#34990)
close pingcap/tidb#34989
2022-06-09 15:34:31 +08:00
7c3a5a85a1 statistics/handle: enable flaky and shard test (#35251)
ref pingcap/tidb#35247
2022-06-09 15:02:31 +08:00
71c7a5a841 coprocessor: append bucket information in log when errors are returned in coprocess response (#35228)
close pingcap/tidb#35229
2022-06-09 14:28:30 +08:00
961aadd75a executor: refactor analyze executor (#35201)
* refactor analyze

Signed-off-by: yisaer <disxiaofei@163.com>

fix lint

Signed-off-by: yisaer <disxiaofei@163.com>

fix lint

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

* address the comment

Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Weizhen Wang <wangweizhen@pingcap.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-06-09 11:47:11 +08:00
355d66d966 *: enable more flaky test (#35227)
ref pingcap/tidb#31716
2022-06-09 10:22:30 +08:00
d653011328 *: fix typos in comments and documentations (#35245)
close pingcap/tidb#25052
2022-06-09 01:52:30 +08:00
b6129af831 *: delete from mysql.columns_priv when drop a user (#35100)
close pingcap/tidb#35059
2022-06-08 21:18:31 +08:00
f3493327ce executor: clean test code (#35238)
ref pingcap/tidb#31716
2022-06-08 20:36:30 +08:00
7846d1e83c BR: fix Unit test TestconfigureRestoreClient (#35214)
close pingcap/tidb#35209
2022-06-08 17:00:31 +08:00
c8fcad4d82 planner: refactor to use the standard function GetXXFactor() to get cost model factors (#35226)
ref pingcap/tidb#33945
2022-06-08 16:10:30 +08:00
c68433f8e0 planner: use compareTaskCost to compare costs between different plans in DataSource.findBestTask (#35221)
ref pingcap/tidb#33945
2022-06-08 14:38:30 +08:00
5eab3623fc util: fix data race in ListInDisk (#35199)
close pingcap/tidb#35191
2022-06-08 10:26:29 +08:00
a523d767f8 infosync: fix data race in the mockTiFlashPlacementManager (#35183)
close pingcap/tidb#35182
2022-06-07 17:12:30 +08:00
8a4d457068 executor: reuse iterator4Slice and Row/RowPtrs slice in HashJoin. (#34878)
ref pingcap/tidb#33877
2022-06-07 16:42:29 +08:00
30f7037d03 table: add some injections for testing data-inconsistency defense (#34889)
ref pingcap/tidb#26833
2022-06-07 16:14:30 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
5369b4929b makefile: remove useless item (#35186)
ref pingcap/tidb#31716
2022-06-07 14:38:30 +08:00
d3cbae0fbb statistics: fix index isEvicted (#35170)
Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-06-07 13:48:54 +08:00
ae8da6f0bd *: make Row errors be correctly checked (#35188)
close pingcap/tidb#35050
2022-06-07 13:26:30 +08:00
0f4641aaf0 ddl: fix wrong default value (#34947)
close pingcap/tidb#34881
2022-06-07 10:22:29 +08:00
de0e2005ef planner: use pdqsort to improve sort performance (#35137)
ref pingcap/tidb#34250
2022-06-07 02:18:30 +08:00
85967fd3be *: implement chunk rpc encoding for unistore (#35114)
close pingcap/tidb#35113
2022-06-06 23:20:29 +08:00
1c534463e5 planner/core: optimize buildInsert() (#35160)
close pingcap/tidb#35159
2022-06-06 21:54:29 +08:00
11e1f14178 util/plancodec: add the missing operator IDs to fix the UnknownPlanID (#35175)
close pingcap/tidb#34784, close pingcap/tidb#35153
2022-06-06 20:24:29 +08:00
f9153e4cd4 planner: fix data race in the TestCacheHitInRc (#35134)
close pingcap/tidb#35133
2022-06-06 18:40:29 +08:00
0e278b9866 util: optimize the memory usage of the read path for listInDisk (#34778)
ref pingcap/tidb#33877
2022-06-06 18:16:30 +08:00
cc46266e4a ddl: fix alter column drop default (#35072)
close pingcap/tidb#35018
2022-06-06 16:22:29 +08:00
b860500988 executor: do not append extra cols to the old row when updateDupRow (#33656)
close pingcap/tidb#33608
2022-06-06 15:30:29 +08:00
7ffab33a47 variables: add concurrent DDL switch (#35028)
ref pingcap/tidb#32031
2022-06-06 14:56:29 +08:00
eca9f2d6be unload fmsketch (#35098)
Signed-off-by: yisaer <disxiaofei@163.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-06-06 14:38:07 +08:00
b2b7e311de planner: support 'explain analyze format=true_card_cost' (#34566)
ref pingcap/tidb#33945
2022-06-06 14:20:30 +08:00
233a7335fd sessionctx/variable, ddl: fix sysvar API usage (#35052)
ref pingcap/tidb#35051
2022-06-06 10:34:29 +08:00
45a67585aa ddl: fix the 'max-index-length' check result in non-restricted sql mod (#35008)
close pingcap/tidb#34931
2022-06-06 10:18:29 +08:00
173dd005cc docs: rename log backup design document (#35139)
ref pingcap/tidb#29501
2022-06-03 10:10:27 +08:00
7c65326821 backup: add design doc of stream backup (#31888)
ref pingcap/tidb#29501
2022-06-02 18:14:28 +08:00
942fc8586a *: remove sortutil (#35126)
ref pingcap/tidb#34250
2022-06-02 17:10:28 +08:00
22e9f4dc9e txn: Provide PessimisticRCTxnContextProvider for RC isolation (#34702)
close pingcap/tidb#34746
2022-06-02 15:36:28 +08:00
7342460e07 refactor(charset): remove unused charsets map (#35120)
close pingcap/tidb#35118
2022-06-02 14:28:27 +08:00
6d54fea1c4 tables: disable row insertion consistency check in mutation checker; and fix the cache problem (#35104)
close pingcap/tidb#35103
2022-06-02 12:24:27 +08:00
2801eceb9e statistics: add label for StatsHealthyGauge (#35106)
ref pingcap/tidb#34691
2022-06-02 12:06:27 +08:00
26df62fef2 test: improve some tests (#35092)
ref pingcap/tidb#32031
2022-06-01 18:50:28 +08:00
04f9bcfb36 dumpling: make prom registry configurable and use const labels (#35061)
ref pingcap/tidb#34948
2022-06-01 18:32:28 +08:00
c133e7478c *: support SHOW TABLE STATUS with case insensitivity (#35086)
close pingcap/tidb#7518
2022-06-01 18:14:27 +08:00