Commit Graph

47 Commits

Author SHA1 Message Date
b1feeca170 linter: enable revive for executor (#45504)
ref pingcap/tidb#40786
2023-07-24 03:22:18 +00:00
30cafb3c3a executor: refactor executor and baseExecutor (#45065)
ref pingcap/tidb#44940
2023-07-03 07:56:12 +00:00
ea243088e1 load data: move param and some init logic into importer pkg (#42075)
ref pingcap/tidb#40499
2023-03-13 18:58:40 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
aff49d5b8c executor: Show placement information in SHOW TABLE x REGIONS (#35202)
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2022-06-23 10:56:30 +08:00
f88dab92f9 util: use generics to implement max/min (#34197)
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
e1ecb4d0b2 executor: fix split table error message reversed step and minRegionStep (#31138)
close pingcap/tidb#31137
2021-12-30 10:17:51 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
b687413b66 executor: query memory table TIKV_REGION_PEERS and TIKV_REGION_STATUS get error (#25854) 2021-07-02 11:13:26 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
35eded065e *: fix structcheck lint warnings (#23062) 2021-03-24 21:09:37 +08:00
3641cd4fe0 executor: fix split table with large integers (#21277) 2021-03-15 16:18:56 +08:00
602bcd2e40 *: fix some structcheck lint warnings (#22983) 2021-03-02 23:12:54 +08:00
8ea5930ea8 *: separate use of kv.Storage and tikv.Storage (#22891)
* *: separate use of kv.Storage and tikv.Storage

Signed-off-by: disksing <i@disksing.com>

* fix compile

Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Shirly <wuxuelian@pingcap.com>
2021-02-24 17:54:03 +08:00
7a275a77bb store/tikv: move EtcdBackend out (#22676)
Signed-off-by: disksing <i@disksing.com>
2021-02-03 14:59:57 +08:00
5080730715 executor: fix the display of large unsigned handle when show table regions (#21026) 2020-11-13 15:26:25 +08:00
3d4016fe46 *: change file mode to 0644 (#20443)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-10-14 16:35:31 +08:00
c679f847fc *: Bug Fix/CLUSTER_INFO system table may not work after PD is scaled-in (#19355) 2020-09-16 11:50:03 +08:00
8446ec9e08 tikv: support scatter region with option api (#19844) 2020-09-11 14:02:34 +08:00
820f2cd939 executor: fix the key representation of 'show table regions' (#18721)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-24 08:54:02 +08:00
77aecd4b27 executor, planner: support split table regions on clustered index (#18465) 2020-07-13 21:40:40 +08:00
de33068d26 *: refactor NewBackoffer (#18367) 2020-07-07 14:28:43 +08:00
ad68349bd2 tikv: pre-index stores in region-cache for different access pattern (#18040) 2020-06-18 11:22:50 +08:00
6bb9b30e74 ddl: fix pre-split region timeout constraint not work when create table (#17459) 2020-06-03 11:18:27 +08:00
bded6a2957 executor: refine split index region (#17070) 2020-05-13 22:31:00 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
af376db3dc *: refactor Handle in tablecodec and rowcodec (#16705)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-23 18:55:59 +08:00
62e4d588a8 Makefile: add unconvert to inspect unnecessary type convert (#16549) 2020-04-22 23:01:59 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
db535c1049 kv: refactor code to fix type SplittableStore name typo (#13829) 2019-12-02 09:08:51 +08:00
99a4e602fb *: support split partition table region (#12213) 2019-10-14 15:40:45 +08:00
fa675ca3b8 executor: fix scatter region timeout issues and "show processlist" display issues (#12057) 2019-09-17 12:00:15 +08:00
f9d85418ed *: support a region divided into multiple regions (#11739) 2019-09-03 13:30:49 +08:00
ba4eb8fba5 *: add region read/write bytes info and approximate size/keys in show table regions result. (#11847) 2019-08-29 11:33:44 +08:00
ddace4f3fc executor: split a separate region for index when split table region (#11721) 2019-08-22 10:35:46 +08:00
3b6d2f475f executor/split: return split result when do split region and refine split timeout logic. (#11259) 2019-07-23 17:35:13 +08:00
04cfda8699 *: add show table regions syntax (#10612) 2019-07-10 11:54:52 +08:00
89baed8e17 ddl: scatter the regions of table when creating them (#10980) 2019-07-10 11:09:14 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
9dd32e84c6 *: rename and add tidb_wait_split_region_timeout session variable to set wait split region timeout. (#10797) 2019-06-20 14:57:35 +08:00
59b5e1d2bf *: add split table syntax to split table region (#10553) 2019-06-10 14:38:56 +08:00
7bf3d69313 *: split index region with lower upper syntax (#10409) 2019-06-06 10:47:24 +08:00
7ecb3159a6 *: add split index region syntax (#10203) 2019-05-06 17:41:50 +08:00