Commit Graph

16 Commits

Author SHA1 Message Date
2aa3e27a6d infoschema,store: fix the inconsistent definition of StoreStatus between TiDB/PD (#11969) 2019-09-02 11:01:08 +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
1c1faab678 *: convert key to hex for logs (#11781) 2019-08-20 11:10:16 +08:00
1846eba074 improve asserts oftest cases in helper_test.go and fix ci (#11553) 2019-08-01 11:50:50 +08:00
60bb04b8f0 store/helper, infoschema: add table info for region info mem tables (#11444)
* add table regions distribution mem table

* fix a small bug

* add table info for TIKV_REGION_* mem tables

* fix IsBefore()

* add test for GetRegionsTableInfo()

* remove Table*RegionsDistribution which can be calculated from TiKVRegionPeers

* unexported some stuff; remove a unused function
2019-07-30 19:39:02 +08:00
37bb4ba95f store/helper: remove timeout for fetch diagnose from info pd (#11352) 2019-07-23 14:33:48 +08:00
eae30ebbcb *: reduce tikvrpc resp struct size (#11056) 2019-07-16 13:21:00 +08:00
d420a1f212 *: reduce tikvrpc request size (#11055) 2019-07-15 16:11:14 +08:00
5664dd2abc infochema, server: export region_id in hot_region table (#10982) 2019-07-11 12:44:55 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
0550bacd2b store: improve ut coverage for store (#10525) 2019-06-18 13:51:00 +08:00
e96190bc30 store/helper, inforschema: add mem table to show region info (#10267) 2019-04-29 13:31:29 +08:00
3f89a6e64d store/helper, infoschema: add mem table for tikv store status (#10248) 2019-04-28 12:05:29 +08:00
92bdfb524d store/helper: make test stable (#10211) 2019-04-22 13:49:54 +08:00
76e0a91694 infoschema: add mem table to show hot region (#10106) 2019-04-18 17:41:53 +08:00
7acbe520f4 server: move out some code from http_handler.go (#10071) 2019-04-09 13:46:15 +08:00