aef66b2435
statistics, store: tidy local variable ( #9679 )
2019-03-13 10:34:19 +08:00
3910a720df
*: add assertion in kvproto to check data consistency ( #9180 )
2019-03-08 16:49:31 +08:00
108c3d2070
domain, store/tikv: enable etcd client auto sync ( #9575 )
2019-03-07 14:20:17 +08:00
d7ac1138e8
store/tikv: add sanity check for startTS in 2pc ( #9555 )
...
* store/tikv: add sanity check for startTS in 2pc
Signed-off-by: disksing <i@disksing.com >
2019-03-05 17:57:55 +08:00
560e8cfe57
*: sleep 0 when retry whole transaction ( #9454 )
2019-03-02 13:16:28 +08:00
18449d777a
*: merge statement buffer when BatchGetValues ( #9374 )
2019-02-22 11:06:58 +08:00
f7dc9157e2
Push down condition check to TiKV for prewrite request ( #9127 )
2019-02-19 19:45:41 +08:00
40fa006cac
*: collect coprocessor runtime stats for explain analyze ( #9057 )
2019-02-19 16:22:00 +08:00
6136ab14cf
*: start replacing logger with zap logger ( #9279 )
2019-02-15 16:43:47 +08:00
de56ea67e4
store/tikv/region_cache: Backoff when region epoch is ahead of TiKV ( #9181 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2019-02-14 15:02:30 +08:00
b9c5f55cc0
store/tikv: make the batch strategy more smart ( #9169 )
2019-02-13 20:24:27 +08:00
7648317dad
store: correct comments mistake. ( #9190 )
2019-01-28 09:42:33 +08:00
c371e66e3b
store/tikv: use new backoffer for async commit batches ( #9119 )
...
When we commit a txn, secondary keys are committed asynchronously. If user cancels the context soon after `Commit()` returns, the secondaries batches will be cancelled too.
2019-01-21 14:55:57 +08:00
443c103f4f
cancel the context to avoid memory leaks ( #9121 )
2019-01-18 22:47:02 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
365264cd21
ddl: add restore deleted table ( #7937 )
2019-01-16 15:37:33 +08:00
cf456f07d3
store/tikv/scan: Cut the scan range by region before sending request to TiKV ( #9070 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2019-01-16 10:46:40 +08:00
f18e034de9
store/tikv: Support RawReverseScan ( #8352 )
...
Signed-off-by: kamijin_fanta <kamijin@live.jp >
2019-01-15 14:57:04 +08:00
d298902371
tikvclient: use global config instead write them again ( #9040 )
2019-01-14 19:46:27 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +08:00
319656c407
tikvclient: support to batch grpc message to TiKVs ( #8986 )
2019-01-14 13:59:15 +08:00
098c5db9d6
tikv/gc_worker: Add support for distributed GC ( #6833 )
...
Currently GC is done in 3 steps:
1. Resolve Locks
2. Delete Ranges
3. Do GC
In this PR, the third phase of GC does not do real GC one by one, but only send the new safe point to PD. Then TiKV can get the safe point from PD and do GC by themselves.
2019-01-11 00:41:53 +08:00
243d611cc4
Revert "gcworker: let gofail in gcworker run serially, make ci happy" ( #8944 )
2019-01-07 11:01:06 +08:00
6d098d4ff6
gcworker: let gofail in gcworker run serially, make ci happy ( #8912 )
2019-01-04 12:18:12 +08:00
0e89c02ffb
*: clean up code for insert/update statement ( #8867 )
2018-12-29 18:46:47 +08:00
ffd9ba6659
gc_worker: Remove timezone name from the times that are saved in mysql.tidb ( #8745 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2018-12-27 12:16:18 +08:00
351c4a5568
*: refine commit txn slow log ( #8731 )
2018-12-25 20:49:50 +08:00
bd69b15e79
*: add the error check ( #8770 )
2018-12-24 22:22:00 +08:00
20a468d558
store/tikv: Add endKey support for RawScan ( #8602 )
...
Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com >
2018-12-21 19:27:58 +08:00
9c087d13ee
*: replace github.com/etcd-io/gofail with the forked one ( #8693 )
...
With the adoption of Go module, GOPATH is not need any more
But github.com/etcd-io/gofail doesn't support packages outside the GOPATH
To overcome the drawback, this commit replace it with our forked one
2018-12-19 11:30:48 +08:00
8a6b965a8b
executor: accelerate unit test TestTSOFail ( #8717 )
2018-12-18 14:15:47 +08:00
30427927f6
*: move session.NewStore to store.New to achieve semantic accuracy ( #8617 )
2018-12-10 20:53:15 +08:00
50cb733565
tikv: accelerate tikv package testcase ( #8562 )
2018-12-06 15:31:46 +08:00
c137cada68
*: change golang.org/x/net/context to standard context ( #8579 )
2018-12-05 13:54:00 +08:00
350a046975
executor,store/mockstore: add a test to mock get tso fail ( #8566 )
2018-12-04 22:10:08 +08:00
8ddeeea939
gc_worker: add gc enable variable to enable/disable gc ( #8282 )
2018-12-03 23:37:39 +08:00
36bcf5db4a
tidb/kv: remove useless errors.Trace ( #8527 )
2018-11-30 14:30:31 +08:00
01f533a59f
store/kv: fix panic for EOF-stream & add recover to copIterateWorker ( #8297 )
2018-11-22 10:58:56 +08:00
e233ee9601
kv, store: remove Rollback in RunInNewTxn ( #8250 )
2018-11-12 16:39:58 +08:00
2f2b47f511
store/tikv: Make maxTxnTimeUse a configurable value ( #8215 )
2018-11-12 15:13:13 +08:00
09c6bff91c
*: Make use of the upperBound of ticlient's kv_scan interface to ensure no overbound scan will happen ( #8081 )
2018-11-09 18:49:00 +08:00
29f14d4178
*: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' ( #7965 )
2018-11-09 16:32:21 +08:00
d125958380
tikvclient: Add endKey param to Scanner ( #8178 )
2018-11-08 18:21:40 +08:00
81d2fff83c
store/tikv: refine backoff log ( #8207 )
2018-11-08 15:56:01 +08:00
74ff2ee455
store/tikv/latch: fix a deadlock in the latch scheduler ( #8186 )
2018-11-07 18:54:46 +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
9ec7515743
*: Add few error checks in tests, clean error messages and fix a misspell ( #8101 )
2018-10-31 18:50:43 +08:00
65628a8534
ticlient: check nil when Backoff set vars ( #8089 )
2018-10-29 19:39:25 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
cc1b7718b9
store/tikv: fix typo ( #7990 )
2018-10-23 11:11:37 +08:00