Commit Graph

687 Commits

Author SHA1 Message Date
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
9f68166c93 tikv: make region_request_test stable (#11541) 2019-07-31 17:18:40 +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
3b6d2f475f executor/split: return split result when do split region and refine split timeout logic. (#11259) 2019-07-23 17:35:13 +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
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
e1f2b3728d *: make assertion check more reasonable (#10424)
Make sure there are no "ASSERTION fail" logs in session and executor unit test
2019-07-04 16:20:38 +08:00
c78622848d config, kv: make TxnEntryCountLimit and TxnTotalSizeLimit configurable (#9035) (#9952) (#11058) 2019-07-04 12:23:20 +08:00
f56ef00649 store/tikv: revert the optimization for optimistic conflicts pessimistic (#11037) 2019-07-03 16:21:20 +08:00
5fd7ed73b6 tikv: remove max grpc msg limitation for kv request (#11005) 2019-07-01 17:28:36 +08:00
1916effb04 *: fix oom action cancel bug (#10993) 2019-07-01 13:40:54 +08:00
7f20b4d918 gc_worker: add test for check save gc safe point (#10964) 2019-06-27 18:58:17 +08:00
5eae9fa66a gc_worker: add check for gc life time too small (#10936) 2019-06-26 16:28:56 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
936704512e gc_worker: fix bug of saving gc safe point to pd before do distributed gc (#10927) 2019-06-25 19:47:30 +08:00