Commit Graph

25 Commits

Author SHA1 Message Date
3910a720df *: add assertion in kvproto to check data consistency (#9180) 2019-03-08 16:49:31 +08:00
18449d777a *: merge statement buffer when BatchGetValues (#9374) 2019-02-22 11:06:58 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
d125958380 tikvclient: Add endKey param to Scanner (#8178) 2018-11-08 18:21:40 +08:00
32b1dbd8d5 *: rename "github.com/pkg/errors" to "github.com/pingcap/errors" (#8136)
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
5da8ac0957 *: make session variables control TiKV layer. (#6322)
And add a system variable `tidb_backoff_lock_fast` to change the backoff base time on read lock.
2018-04-20 16:06:34 +08:00
bf127711e9 ddl:set the low priority for the adding the index (#5976) 2018-03-09 20:19:22 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
24333b3b29 *: don't record binlog when statement rollback (#5699) 2018-01-25 06:50:57 -06:00
0b23ff48a6 *: execute statement meets error should make no side effect (#5678) 2018-01-22 13:49:29 +08:00
31b606d30d executer: optimization for insert ignore (#5508) 2018-01-12 11:09:25 +08:00
eddff3429a *: importing data reduce memory allocations. (#5549) 2018-01-07 12:48:07 +08:00
00a14b52f0 kvencoder: add EncodeMetaAutoID method (#5272) 2017-11-30 19:07:08 +08:00
5f468489ab util: add kvencoder package, make transfer sql to key-values be possible. (#5236) 2017-11-29 18:01:31 +08:00
37681cf435 *: opentracing for two phase commit (#4900) 2017-10-26 17:43:45 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
821d928e7a *: use async get timestamp API && remove asyncGetTSWorker (#3459) 2017-06-13 13:05:30 +08:00
6859d121b9 txn:improvement for point get by unique key or pk (#2631) 2017-02-20 22:39:36 +08:00
0f15c2ec5d kv: limit transaction size, len, and entry length, reduce retry times (#2426) 2017-01-10 12:26:18 +08:00
0adabe53a1 *: begin a transaction in PrepareTxnCtx, unify in transaction. (#2290)
Transaction should has the same life cycle as TxnCtx, so create a
new transaction in PrepareTxnCtx if transaction is nil or invalid.
2016-12-21 16:48:19 +08:00
7a2bc12ebd kv: improve test coverage above 80% (#1758) 2016-09-26 11:55:32 +08:00
ade11fe9f4 *: support history read. (#1734)
* *: support history read.

This commit only handles the case when scheme does not change.
Use history schema will be supported in the following PR.
2016-09-19 15:37:30 +08:00
2631d50741 *: Add retry attempts into txn (#1284)
* *: Add retry attempts into txn
2016-06-03 17:37:41 +08:00