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
8c5f4c766e
store/mockstore/mocktikv: fix DATA RACE to make unit test stable ( #11921 )
...
Signed-off-by: Lonng <heng@lonng.org >
2019-08-28 23:35:16 +08:00
d3fe398f54
some small typo fixes ( #11899 )
2019-08-28 16:32:34 +08:00
a62bee1034
store: add rateLimiter into txn commit batch actions ( #11817 )
2019-08-28 11:08:35 +08:00
727d73670d
kv, store: simpilify lazy condition pair ( #11816 )
2019-08-26 15:48:54 +08:00
fce8d61a5a
tikv: refine commit backoff slow log ( #11757 )
2019-08-26 15:35:42 +08:00
438620e2df
tikv: fix wasted sleep and return error in last backoff ( #11788 )
2019-08-21 14:35:38 +08:00
9d71884e0f
tikv: do not update regionTxnSize on retries ( #11793 )
2019-08-21 10:01:46 +08:00
1c1faab678
*: convert key to hex for logs ( #11781 )
2019-08-20 11:10:16 +08:00
d096c04b8d
fix an obvious typo in loadSafePoint ( #11765 )
2019-08-19 16:18:17 +08:00
5580a01449
tikv: fix TxnSize to be the number of involved keys in the region ( #11725 )
2019-08-19 14:44:46 +08:00
523b93651d
Add follower read support to TiDB ( #11347 )
2019-08-16 13:26:17 +08:00
6d51ad33fd
*: Optimize struct memory usage by adjust field order ( #11629 )
2019-08-13 17:20:53 +08:00
3d6c561952
metric, tikv: record duration for each backoff type ( #11710 )
2019-08-13 15:02:57 +08:00
3076e632c8
*: use bytes.Equal to check byte slice equivalent ( #11706 )
2019-08-11 17:36:20 +08:00
df2075d745
*: remove the transaction kv count limit ( #11141 )
2019-08-09 20:35:37 +08:00
31a8e2192e
store/tikv,util/logutil: add a function to convert proto.Message to hex format ( #11550 )
2019-08-09 17:13:32 +08:00
d210889a6c
*: trace the execution of the insert operation ( #11667 )
2019-08-09 14:22:03 +08:00
1595c0101e
*: replace context.WithValue string key to typed struct{} key ( #11675 )
2019-08-09 14:11:48 +08:00
036e7e207d
*: support new 'log' format for trace ( #11681 )
2019-08-09 12:43:33 +08:00
554594b0bb
build: use make testSuite to ensure all testSuites enabled ( #11627 )
2019-08-08 15:23:28 +08:00
5fff4e9dea
distsql: control the sending rate of copIteratorTaskSender if keepOrder is true ( #11578 )
2019-08-07 21:40:42 +08:00
fcae7fa62c
store/tikv: make test stable by running TestPanicInRecvLoop unparallel with others ( #11572 )
2019-08-02 14:19:42 +08:00
b493fb63d4
tikv: invalidate store's regions when store be removed in kv ( #11567 )
2019-08-02 14:13:12 +08:00
1846eba074
improve asserts oftest cases in helper_test.go and fix ci ( #11553 )
2019-08-01 11:50:50 +08:00
9f68166c93
tikv: make region_request_test stable ( #11541 )
2019-07-31 17:18:40 +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
da8e7d267c
executor: refactor union_scan executor by using txn_mem_buffer_reader ( #10673 )
2019-07-30 17:40:33 +08:00
1f57a538a4
distsql: make CopStream available ( #11311 )
...
All tests passed, auto merged by Bot
2019-07-30 17:10:52 +08:00
444fb8ce7e
store/tikv, config: increase pessimistic lock ttl ( #11499 )
2019-07-30 13:31:50 +08:00
0f6a471029
stabilize a test case ( #11465 )
2019-07-29 12:43:57 +08:00
2b251d194e
tikv: invalidate store's regions when send store fail ( #11344 )
2019-07-24 13:18:28 +08:00
2225d5ff68
tikv: forbid to try to get a connection forever ( #11391 )
2019-07-24 12:10:37 +08:00
18724b950b
codec: improve buffer reuse ( #10801 )
2019-07-23 21:22:24 +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
37bb4ba95f
store/helper: remove timeout for fetch diagnose from info pd ( #11352 )
2019-07-23 14:33:48 +08:00
f03a021269
store/tikv: reduce the lock contend between sending message and re-creating streaming client ( #11301 )
2019-07-22 17:10:27 +08:00
1c8038cceb
store/tikv: refine streaming client re-create log and use a smarter backoff strategy ( #11307 )
2019-07-22 11:50:30 +08:00
db45460280
store/tikv: Avoid sending to channel everywhere in runGCJob ( #11032 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2019-07-17 17:31:10 +08:00
f772318035
store/tikv: Make GC's tests more strict ( #11084 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2019-07-16 17:47:32 +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
c101c80ace
store/tikv: move batch client code to file client_batch.go ( #11108 )
2019-07-10 13:47:38 +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
a737d26e4f
*: add tidb_enable_noop_functions to default disable get_lock()/release_lock() ( #10987 )
...
* issue#4100 add new variable to default disable usage of get_lock and release_lock functions
2019-07-08 13:47:36 +08:00
21d2590ac3
tikvclient: fix a bug that double close channels. ( #10991 )
2019-07-05 16:53:40 +08:00
0f1822a1a8
store/tikv: Remove gcTaskWorker ( #11033 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2019-07-04 20:28:23 +08:00