Commit Graph

78 Commits

Author SHA1 Message Date
5b4a82dbf4 *: upgrade bazel timeout (#36776) 2022-08-02 11:10:05 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
bf743a6ca0 *: enable flaky test for all test (#36385)
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
911e7cc360 *: enable revive (#35970)
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
8097685436 helper: request another PD if one of them is unavailable (#35750)
close pingcap/tidb#35708
2022-06-28 16:06:39 +08:00
2b4a4c6d7a *: support bazel (#33691)
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
810f8ae12e *: remove pingcap/check dependency (#34734)
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
45e48b6498 *: Add more grafana charts for pd http api request (#33936)
ref pingcap/tidb#33916
2022-04-14 15:48:36 +08:00
b35b30bbd5 executor: support extractor for mem table region status (#33498)
close pingcap/tidb#33348
2022-03-30 16:12:29 +08:00
6b2e37f18c gomod: update dependency for golang1.18 (#33053)
ref pingcap/tidb#32874
2022-03-17 15:10:31 +08:00
e0f90a7c11 ddl: fix string truncating when tiflash/sync-status returns a very long line (#32367)
close pingcap/tidb#32356
2022-02-18 12:33:40 +08:00
db
43b818b80d executor: add retriver for tikv_region_peers (#30657)
close pingcap/tidb#31050
2022-02-07 16:47:35 +08:00
493fe783d7 ddl: Implement basic version of TiFlash replica management (#30842) 2022-01-19 15:13:46 +08:00
ec4da9840d ddl: Wrap TiFlash and its pd rule management into InfoSyncer (#31315)
ref pingcap/tidb#29924
2022-01-06 13:56:37 +08:00
db
c06ecb4de7 executor: use helper.GetRegionsTableInfo to get region schema for tidb_hot_regions_history (#30500) 2021-12-29 17:01:50 +08:00
5e031442d9 executor: enhance the strategy of the sampling rate calculation (#31016)
ref tikv/tikv#11669
2021-12-28 20:47:49 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
1cf2a6da7e ddl: add helper function to set and query TiFlash's sync status (#30473) 2021-12-17 15:06:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
0a92c4d133 store: Add metrics for pd api call time (#30062) 2021-12-01 18:49:53 +08:00
af5b449270 *: update tikv client to use the new transaction Begin method (#29426) 2021-11-11 11:35:05 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
64e1fd5e66 store/helper: Migrate test-infra to testify (#27965) 2021-09-12 08:44:39 +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
34d43fb8c5 *: convert tikv.error which is returned by RegionCache.Locate to tidb.error (#26647) 2021-07-28 10:26:16 +08:00
e9409c687c go.mod: update client-go to version 20210723 (#26510) 2021-07-25 12:06:14 +08:00
cf2ab29897 store: requst another PD node if some of them is down (#26326) 2021-07-19 13:55:35 +08:00
c6680e999b *: update client-go and update mocktikv usages (#25911) 2021-07-09 10:57:32 +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
e87d035937 infoschema, executor, txn: implement DATA_LOCK_WAITS table (#24750) 2021-05-27 17:57:36 +08:00
96ab4a3f0a store/helper, infoschema: fix the bug that cannot find down-peer (#24881) 2021-05-27 13:25:35 +08:00
0199b402e4 server/http_handler: use func in helper instead of use tikvrpc directly (#24823) 2021-05-25 17:23:34 +08:00
49d1eaa409 txn: break dependency from store/tikv to tidb/kv cause by TransactionOption (#24656) 2021-05-19 17:39:42 +08:00
e9488ce2ee *: implement tidb_bounded_staleness built-in function (#24328) 2021-05-18 14:15:40 +08:00
24a53c392f tikv/region_cache:use []byte instead of kv.Key in KeyLocation (#23957) 2021-04-13 10:53:50 +08:00
f70177ec72 *: unify_log_lib (#23093) 2021-03-16 18:06:55 +08:00
b534ec7b49 store/tikv: remove kv.Version from package store/tikv (#23282) 2021-03-13 10:38:55 +08:00
707cb0a942 kv: unify the BeginWith... function into one (#23130) 2021-03-05 17:56:56 +08:00
39fc7db038 store: fix incorrect information_schema.tikv_region_status for partitioned tables (#22756) 2021-03-03 15:12:55 +08:00
745d20aa64 store/tikv_driver:move MemManager from KVStore to tikvStore (#22728) 2021-02-25 15:53:11 +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
b74dfaf810 mockstore: move mockstore/cluster to tikv/mockstore/cluster (#22856)
Signed-off-by: disksing <i@disksing.com>
2021-02-22 15:42:16 +08:00
7a275a77bb store/tikv: move EtcdBackend out (#22676)
Signed-off-by: disksing <i@disksing.com>
2021-02-03 14:59:57 +08:00
183f2f3f97 infoschema: fix inaccurate statistics of TIDB_HOT_REGIONS (#21278)
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2020-11-26 15:49:52 +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
d99830ae4e server: support new frame item for cluster index (#19283)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-20 15:45:29 +08:00
de33068d26 *: refactor NewBackoffer (#18367) 2020-07-07 14:28:43 +08:00