Commit Graph

12607 Commits

Author SHA1 Message Date
3dff7cd348 store/tikv: resolve variable dependency (#22609)
Signed-off-by: disksing <i@disksing.com>
2021-01-29 15:52:14 +08:00
xhe
d35f3055ea ddl: support placement rules for exchanging partitions (#22380)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-29 15:19:44 +08:00
ea6ccf82e9 *: refactor the RestrictedSQLExecutor interface (#22579) 2021-01-29 12:56:44 +08:00
94fe8d954e metrics: fix wrong bucket name of coprocessor cache (#22454) 2021-01-29 11:11:03 +08:00
c461f363f9 gc_worker: Set endKey parameter of ScanLock request (#22519)
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com>
2021-01-29 10:31:44 +08:00
355fdfee4b brie: update br pkg to latest master (#22528) 2021-01-28 23:49:45 +08:00
e8395b7746 store/tikv: resolve metrics dependency (#22542)
Signed-off-by: disksing <i@disksing.com>
2021-01-28 18:58:31 +08:00
558d5610ce executor: fix load-data result when field term be the prefix of line term (#22585)
Signed-off-by: lysu <sulifx@gmail.com>
2021-01-28 17:46:00 +08:00
890a358325 store/tikv: resolve logutil dependency (#22566)
Signed-off-by: disksing <i@disksing.com>
2021-01-28 17:26:01 +08:00
9390c5053b gcworker: disable green GC (#22533)
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
2021-01-28 16:07:31 +08:00
d4796a82fa server: remove TokenLimitGauge and use ConfigStatus instead. (#22590)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-01-28 14:58:31 +08:00
40fb9e2d86 ddl: fix update with point get will try to set default value for the nil of not-null column (#22500)
Signed-off-by: AilinKid <314806019@qq.com>
2021-01-28 13:47:02 +08:00
f5399b6b55 config: add config metrics (#22586)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2021-01-28 12:39:00 +08:00
dd6b31a116 store/tikv:move definition of TiKVClient to store/tikv (#22563)
Signed-off-by: shirly <AndreMouche@126.com>
2021-01-28 11:40:31 +08:00
415d14b6ac store/tikv: remove use of fastrand (#22543)
Signed-off-by: disksing <i@disksing.com>
2021-01-27 23:23:31 +08:00
d92e62c916 store/tikv: remove dependency on testkit (#22520) 2021-01-27 21:41:01 +08:00
c05ced3c66 metrics: use tidb_cluster label get variable values (#22557) 2021-01-27 21:01:32 +08:00
7f53f840fe statistics: add tests for version 2 stats and fix bug (#22564) 2021-01-27 19:42:01 +08:00
c54932640b server: add token usage gauge for tidb (#22511)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-01-27 18:08:31 +08:00
2de7d59f0a store/tikv: remove TestFailPrewriteRegionError (#22544)
Signed-off-by: disksing <i@disksing.com>
2021-01-27 17:52:01 +08:00
56cf073818 tikv: slience a log when async committing (#22555)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-27 17:31:09 +08:00
871856db04 store/tikv: export failpoints (#22539)
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
2021-01-27 17:13:30 +08:00
edb2741f36 executor: refine bigint unsigned primary key duplicate error (#22153) 2021-01-27 16:57:01 +08:00
f22ec62dd0 statistics: fix panic occurs when stats cache inconsistency (#22465) 2021-01-27 16:41:07 +08:00
7b79af93d7 planner: fix in-compatibility issues between TiDB agg and TiFlash agg in MPP mode (#22537) 2021-01-27 16:03:32 +08:00
0ffa605737 metrics: add server info metric (#22556)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2021-01-27 15:14:57 +08:00
fbcf75acc9 store/tikv: refactor: remove import tidb.config.security in store/tikv (#22538)
Signed-off-by: shirly <AndreMouche@126.com>
2021-01-27 12:08:24 +08:00
6931ece23d server: use ParseWithParams to avoid injection (#22545) 2021-01-27 11:14:54 +08:00
05d995d73d statistics: add more tests about ver2-stats (#22457) 2021-01-26 20:59:18 +08:00
xhe
ae0057da71 *: preventing SQL injection (#22499)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-26 18:52:08 +08:00
e1e4ad14e5 session: fix the bug that may cause upgrading from v4.0.10 fail (#22448) 2021-01-26 14:46:36 +08:00
038e7711ab store/tikv: resolve util dependencies (#22524)
Signed-off-by: disksing <i@disksing.com>
2021-01-26 14:05:07 +08:00
6c4401fcff store/tikv, util: move storeutil to store/tikv (#22522)
Signed-off-by: disksing <i@disksing.com>
2021-01-26 13:49:07 +08:00
dc127e92c4 store/tikv: remove stringutil dependency (#22521)
Signed-off-by: disksing <i@disksing.com>
2021-01-26 13:33:06 +08:00
0aa476034a go.mod, statistics, planner: replace TIDB_STATS with STATS_EXTENDED (#22492) 2021-01-25 21:18:07 +08:00
a6b2cbe051 ddl: fix GetLeaderDCByBundle error (#22517) 2021-01-25 21:00:19 +08:00
5e3fbebf7d planner: avoid potential panic when generating hints from joins (#22515) 2021-01-25 17:21:07 +08:00
xhe
fbe1b5acb3 ddl: fix rule cache panic when truncating partitions (#22305)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-25 16:16:38 +08:00
xhe
cac70f813e *: port old testing code to use gocheck (#22512)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-25 15:35:06 +08:00
8520e76399 metrics: grafana dashboards support multiple clusters (#22503) 2021-01-25 15:15:07 +08:00
905e9af74d util: pre-alloc memory for decoding rows (#22508)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2021-01-25 14:59:08 +08:00
f3688ebf13 gcworker: skip GC if the safe point isn't changed (#22482)
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
2021-01-25 14:29:37 +08:00
a88cc8cd13 README: add more info and update links (#22509) 2021-01-25 14:14:18 +08:00
8d2ab4ef7a statistics: fix inaccurate row count estimation caused by cross validation using invalid column stats (#22479) 2021-01-22 17:42:37 +08:00
b24095d909 infoschema: support query partition_id from infoschema.partitions (#22240)
Signed-off-by: lysu <sulifx@gmail.com>
2021-01-22 14:22:29 +08:00
cd390bdfab executor: skip null data in common handle during point-get (#22483) 2021-01-22 14:07:02 +08:00
c5e147196b server, sessionctx: change default for tidb_multi_statement_mode (#22484) 2021-01-22 13:51:58 +08:00
e2540d4ec0 planner: Shuffle hash agg (#21842) 2021-01-22 11:49:30 +08:00
9f71d7cf76 ddl: fix error in exchanging list columns partition (#22236) 2021-01-22 10:39:58 +08:00
fdd
2364fec8f0 executor: fix load data in file get wrong result #20854 (#21895) 2021-01-21 21:53:29 +08:00