fef1eac084
store/tikv: implement a ttlManager to update the TTL of a transaction ( #12177 )
2019-09-25 16:33:42 +08:00
c15fdd2fe5
tikvclient: adjust log level in store/tikv/client_batch.go ( #12302 )
...
Signed-off-by: qupeng <qupeng@pingcap.com >
2019-09-25 15:13:01 +08:00
b25b703c1d
tikv: make region request can send to flash store ( #11652 )
2019-09-25 11:00:15 +08:00
e086686ede
*: tidy code,make code more go style. ( #12300 )
2019-09-23 21:24:10 +08:00
48557f7089
store: update kvrpc.Cleanup proto and change its behaviour ( #12212 )
...
Before this PR, Cleanup always rollbacks a transaction if it's not committed.
After this PR, Cleanup will not rollback a transaction if the lock is active.
2019-09-23 19:45:02 +08:00
f792e8d787
tikv: fix out-of-index in split-region ( #12265 )
2019-09-20 07: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
5c48d93368
*: upgrade grpc to 1.23.0 ( #12055 )
2019-09-12 13:59:46 +08:00
1c6e271e0e
store/tikv: fix data race on idle ( #12164 )
2019-09-12 13:45:45 +08:00
fb683bef2c
executor: refactor union scan and dirty table ( #11702 )
2019-09-12 10:00:45 +08:00
39e9c9fd7a
*: add max/avg cop response time for TableReader, IndexReader and IndexLookupReader. ( #12003 )
2019-09-11 20:36:45 +08:00
57da569736
store/tikv,session: invalidate snapshot cache under pessimistic transaction ( #12147 )
2019-09-11 20:14:15 +08:00
963f18212f
infoschema,store: change leader weight/score type to float64 ( #12151 )
2019-09-11 15:23:46 +08:00
f01cb87abd
*: implement the CheckTxnStatus API for the large transaction ( #11974 )
2019-09-10 22:58:20 +08:00
64298f0278
*: refactoring the code of batchChecker ( #12108 )
...
batchChecker is difficult to maintain, we should get rid of it.
In this commit, I catch the BatchGet result into the snapshot, in this way we can
achieve the same goal as the batchChecker
2019-09-10 16:36:49 +08:00
1ef81a8620
*: replace word error in warning, info, debug logs ( #12050 )
2019-09-09 18:51:12 +08:00
7d744022a4
tikvclient: add metrics for gRPC connection transient failure ( #12084 )
...
Signed-off-by: Lonng <heng@lonng.org >
2019-09-09 16:23:20 +08:00
53a7cf60ee
*: implement the TxnHeartBeat API for the large transaction ( #11979 )
2019-09-09 10:09:24 +08:00
161ff3c9ab
store: implement MVCCDebugger Interface for MVCCLevelDB ( #11754 )
2019-09-05 17:17:24 +08:00
c88ff80a40
store: fix missing line resolving conflicts ( #12032 )
2019-09-04 22:57:05 +08:00
f9d85418ed
*: support a region divided into multiple regions ( #11739 )
2019-09-03 13:30:49 +08:00
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