Commit Graph

576 Commits

Author SHA1 Message Date
d11591fc16 session: move err_rollback test. (#4412) 2017-09-11 16:37:52 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
e44227333d use tmp session in gc_worker. (#4453) 2017-09-07 11:05:06 +08:00
8dbc36cd2a should use bytes.Equal(batch.keys[0], c.primary()) instead (#4443) 2017-09-06 12:22:44 +08:00
ee23ae54a6 Fixed word misspelled (#4448) 2017-09-06 12:03:51 +08:00
e7e40193f9 distsql,store/tikv: fix analyze table OOM (#4399) 2017-09-05 20:56:44 +08:00
1317f2e190 mock-tikv: clean code. (#3405) 2017-08-31 12:32:14 +08:00
d739d7fd17 *: support sig push down in mocktikv. (#4364) 2017-08-30 20:28:12 +08:00
c106c37d78 tikv: enlarge batch size (#4315) 2017-08-24 14:28:06 +08:00
0b63d0c216 coprocessor: support coalesce push down. (#4288) 2017-08-22 22:48:12 +08:00
8db400c77c store/tikv: revert mocktikv engine (#4291) 2017-08-22 21:58:19 +08:00
ff34a46446 store/tikv: implement MVCCStore interface using leveldb backend (#3970) 2017-08-22 03:48:42 -05:00
33923a5aec support isnull push down. (#4260) 2017-08-21 15:09:09 +08:00
7d6c79d09f util: remove context cancel debugger (#4226) 2017-08-18 18:55:03 +08:00
43215118af *: support time constant push down in mocktikv (#4176) 2017-08-18 14:15:41 +08:00
f5fd467f46 *: change terror.ErrorEqual to Error.Equal, which is more effetive (#4217) 2017-08-17 20:06:48 +08:00
16f424dd8e Close PD client in tikv store and raw kv. (#4209) 2017-08-17 14:12:18 +08:00
fe245eb820 store/tikv: make gc worker test more stable (#4204) 2017-08-17 11:18:04 +08:00
aa5b0158f0 tikv: Add Close() method to RawKVClient. (#4194) 2017-08-16 15:16:24 +08:00
f91d9dd14c store/tikv: make test stable (#4187) 2017-08-15 18:06:54 +08:00
8639a47e7d *: start GCWorker after bootstrap finish. (#4167)
GCWorker should not be start when newTikvStore, because
the system maybe not bootstrap yet. Move the logic to
BootstrapSession.
2017-08-15 14:36:56 +08:00
643570ecfd store/tikv: handle Canceled error code by grpc remote. (#4133)
It's observed that killing tikv when running sysbench, we may get a codes.Canceled error, that
error is from grpc remote and we didn't handle it properly.

Distinguish the error cause of cancel:
1. the request should not retry if cancelled by ourself
2. the request need retry when cancelled by remote
2017-08-15 11:12:40 +08:00
8b83c704b9 store/tikv: support minus and mul push down. (#4151) 2017-08-11 19:53:37 +08:00
2df67b639a coprocessor: open ifnull pushdown. (#4126) 2017-08-10 14:28:08 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
1566fd7a99 store/tikv: update gc_worker init. (#3997) 2017-08-08 19:34:53 +08:00
77d7ee841e expression: enable json functions pushdown. (#3793) 2017-08-07 19:51:30 +08:00
8a1e93bc8e *: add cbo switch. (#3877) 2017-08-03 19:28:17 +08:00
8adac8fe6c *: set low priority for expensive SQL and high priority for point get (#3881) 2017-08-02 13:53:36 +08:00
dff73cc6e4 *: Modify the Makefile for go vet (#3900) 2017-07-30 23:02:52 -05:00
b991c56d9f plan: fix name with white space at the end (#3927)
* Column, table, database names with space at the end will return error
2017-07-28 18:12:23 +08:00
5308024670 server/region_handler: txn debug tool for tikv (#3787) 2017-07-28 10:31:49 +08:00
ae7c8d0d14 store/tikv: optimize testing (#3886) 2017-07-27 13:39:07 +08:00
743f5c0c2b vendor: update kvproto for support DeleteRange in future. (#3882)
* vendor: update kvproto for support DeleteRange in future.

* fix ci.
2017-07-26 00:11:22 +08:00
663323ce54 store/tikv: abstract MVCCStore interface and add test (#3837) 2017-07-21 12:10:06 +08:00
da91cf8a87 util,store/tikv: trace caller of cancel() by a new WithCancel (#3812) 2017-07-21 10:44:22 +08:00
e36ba7c3b2 store/tikv: increase max backoff. (#3798) 2017-07-19 09:17:42 +08:00
c559bb4fb6 store/tikv: add raw scan support. (#3707) 2017-07-13 19:18:36 +08:00
c7b48175be vendor:update go source to support mvcc tool for debug (#3717) 2017-07-12 20:06:42 +08:00
f207800c80 store/tikv: fix bug of cleaning store cache on grpc canceled error (#3652) 2017-07-07 17:44:27 +08:00
6135cabb3d *: tikv.NewMockTikvStore API refactor (#3573) 2017-07-04 20:51:21 +08:00
53716dc8a6 tikv/2pc:disable skip_contraint_check (#3600) 2017-07-03 13:19:55 +08:00
c7a714ffff store/tikv/mock-tikv: remove useless encode (#3591) 2017-07-01 13:30:23 +08:00
e440ec77ea store/tikv: export LockResolver. (#3585) 2017-06-30 16:30:21 +08:00
3b26de9c9f Fix typo (#3583) 2017-06-30 14:48:45 +08:00
6157ea87a1 tikv/2pc:prewrite primary first when skip_contraint_check is true (#3561) 2017-06-29 23:31:11 +08:00
6b6b03dc29 *: add a priority option to transaction, use high priority for meta (#3547) 2017-06-28 16:01:43 +08:00
c09cb14238 store/tikv: add RC isolation level. (#3535) 2017-06-27 12:02:05 +08:00
5b92ee27ed storage: disable pushdown json functions in tikv. (#3543) 2017-06-26 22:40:45 +08:00
eac2769606 *: change the format of aggregation's result (#3483) 2017-06-21 18:19:03 +08:00