Commit Graph

66 Commits

Author SHA1 Message Date
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
cfbd754653 planner,executor,infoschema: add system table table_storage_stats (#15056) 2020-06-02 23:17:46 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +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
1bf6fd113a executor: add region sync state (#16724) 2020-04-23 16:14:47 +08:00
a977875623 *: use https protocol between tidb-pd tidb-tidb when cluster-ssl configured (#15342) 2020-03-16 11:36:24 +08:00
c7700356e8 store/helper: use random server port in test (#14988) 2020-03-04 15:39:47 +08:00
a7bdb82402 *: Reduce memory operations by simply passing size hint to make (#14922) 2020-02-25 15:44:36 +08:00
b056fd7298 *: add START_TIME and UPTIME columns to system table CLUSTER_INFO (#14718) 2020-02-12 17:22:18 +08:00
ad71a5a778 store/helper: fill data in the information.tidb_hot_table for partitioned table (#14331) 2020-01-10 23:48:52 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
6dfe2f2118 infoschema: add information_schema.tidb_cluster_info to retrieve cluster topology. (#13035) 2019-11-04 14:22:58 +08:00
963f18212f infoschema,store: change leader weight/score type to float64 (#12151) 2019-09-11 15:23:46 +08:00