Commit Graph

1140 Commits

Author SHA1 Message Date
3f7df9702f *: support stream when read cluster memory table. (#14344) 2020-01-09 15:54:58 +08:00
5a9f2fa5ab server, tikv: enable unit test run parallel and add parallel f… (#14296) 2020-01-09 15:12:45 +08:00
07e642c923 coprocessor: add ddl schema version in request (#14317) 2020-01-08 16:29:10 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
ba2ff85c58 *: support caching coprocessor responses (#13824) 2019-12-31 18:24:40 +08:00
23de656351 metrics,store: add a metric for ttlManager to record the lifetime reach events (#14298) 2019-12-31 18:00:25 +08:00
1881d95a9f metrics: cleanup useless metrics (#14260) 2019-12-30 15:28:39 +08:00
05596fe145 store: keep alive for etcd client (#14253)
Signed-off-by: qupeng <qupeng@pingcap.com>
2019-12-26 17:46:07 +08:00
7a024a2d25 tikv: do not refresh TiFlash work index when region is refreshed in cache (#14205) 2019-12-26 13:25:09 +08:00
1dbe685495 metrics, store: remove confused counter and histogram (#14203) 2019-12-24 21:58:09 +08:00
f0d313470f executor: record lockkeys waited flag and duration in stmtctx (#14209) 2019-12-24 20:24:12 +08:00
9e376cf43d store/tikv: keepalive with pd (#14118) 2019-12-24 13:10:09 +08:00
9e63120472 session,domain,owner: test the session package with tikv (#14149) 2019-12-24 10:40:09 +08:00
03f9a95a35 executor: add metric to trace tikvTxn LockKeys time consume (#14189) 2019-12-23 21:00:09 +08:00
8cbacf0d7c wasm: fix compile error for wasm (#14160)
Signed-off-by: 5kbpers <tangminghua@pingcap.com>
2019-12-23 15:17:46 +08:00
2ce3713803 executor: fix cases that some intermediate errors may be ignored when converting a vector to bools (#14081) 2019-12-22 21:10:56 -06:00
db2a87132f *: fix condition check push down for pessimistic transaction (#14141) 2019-12-20 19:29:16 +08:00
9f5aca7da1 *: Add binlog prewrite time to record binlog prewrite time consume (#14119) 2019-12-19 11:15:46 +08:00
2cb5eb6060 metrics: remove useless tikvclient_backoff_total (#14109) 2019-12-18 16:20:16 +08:00
fc9a74b66a gcworker: fix potential gcworker goroutine leak during tikv down (#13921) 2019-12-17 20:32:46 +08:00
438d39ebcd *: revert #10124 and remove sql mode PadCharToFullLength (#14007) 2019-12-17 15:25:06 +08:00
1dbdc3e85c mocktikv: add the missing ConflictCommitTS (#14064) 2019-12-16 19:41:55 +08:00
814015ea25 tikv: check lock timeout again after resolving lock (#14066) 2019-12-16 16:14:13 +08:00
4d90d81240 store/tikv: fix a memory leak in the batchClient for the large transactions. (#14031) 2019-12-11 23:07:00 +08:00
a94cff903c *: refactor LockKeys API (#14020) 2019-12-11 15:05:59 +08:00
af1d216cbe *: fix some golint warnings (#14012) 2019-12-11 14:29:58 +08:00
d43f980df6 mockstore: update pd (#14008) 2019-12-10 17:24:58 +08:00
01a7d00053 executor: change pessimistic lock wait start for one statement (#13922) 2019-12-06 15:17:49 +08:00
f64c22fbc5 store/tikv: refine grpc config (#13938) 2019-12-06 11:55:26 +08:00
8f09e816b2 store/tikv: fix grpc backoff config (#13928) 2019-12-05 19:39:49 +08:00
b1391ec9ee store/tikv: fix CheckStreamTimeoutLoop goroutine leak (#13812) 2019-12-05 17:54:10 +08:00
3b3b488a65 *: close tickers properly (#13902) 2019-12-05 13:32:39 +08:00
5b6422df58 *: support read remote TiDB memory table of cluster (#13065) 2019-12-04 13:05:36 +08:00
1de8569bce executor: show back-off details in slow log (#13770) 2019-12-03 06:42:32 -06:00
da414efbbc *: wait for binlog recovering when using HTTP API (#13740) 2019-12-03 17:28:09 +08:00
a7d5b98306 *: Move StartTs from DAGRequest to Coprocessor.Request (#13823) 2019-12-03 17:13:12 +08:00
236f5efcf8 store: refactor code to refine some static check issue (#13828) 2019-12-03 17:02:39 +08:00
a1adfb8c1b store/tikv: fix lockTTL too large if local time is behind timestamp. (#13865) 2019-12-03 12:25:55 +08:00
d587c63062 *: some tiny improvements for the large transaction (#13815)
1. Set the default txn size limit to 1G
2. Reduce memory footprint during insert for the large txn
3. Recycle the session buffer memory to avoid leak
4. Set rate limit to avoid 2PC prewrite overloads the TiKV
5. Start ttlManager for the large txn
2019-12-03 00:40:40 +08:00
db535c1049 kv: refactor code to fix type SplittableStore name typo (#13829) 2019-12-02 09:08:51 +08:00
c10c576cab store: implement non-block reading for Get and BatchGet under the large transaction protocol (#13599) 2019-11-27 18:54:58 +08:00
134b80cdf4 distsql: Unify endian for Chunk encode format (#13349) 2019-11-27 17:15:25 +08:00
3a48a48630 *: remove the assertion proto (#13732)
The assertion proto was introduced to verify the data consistency, but I find
it's complex and hard to achieve that goal. Adding additional assertions just
makes more memory occupation, especially in the large transaction.
So it's better to remove it.
2019-11-26 22:58:49 +08:00
3f95d1681d tikv: make follower-read request retry other peers when meet EpochNotMatchError (#13472) 2019-11-26 16:57:44 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
ebe8b0989d *: limit a single test function timeout to 4s (#13573) 2019-11-21 13:44:08 +08:00
8535b90104 session: add more information for retry error (#13525) 2019-11-19 15:52:25 +08:00
359a667d42 store: implement non-block read when coprocessor meets the lock of a large transaction (#11986) 2019-11-19 13:20:00 +08:00
ceeb008e0a tikv: fix store addr cannot update bug after change new store addr and old addr be offline (#13495) 2019-11-19 10:19:24 +08:00
8401cbdeba store: update kvproto.CheckTxnStatus response (#13432) 2019-11-18 18:13:50 +08:00