3910a720df
*: add assertion in kvproto to check data consistency ( #9180 )
2019-03-08 16:49:31 +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
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
7648317dad
store: correct comments mistake. ( #9190 )
2019-01-28 09:42:33 +08:00
ec833bc4d2
*: fix some lints produced by golangci-lint ( #8999 )
2019-01-16 16:44:49 +08:00
f18e034de9
store/tikv: Support RawReverseScan ( #8352 )
...
Signed-off-by: kamijin_fanta <kamijin@live.jp >
2019-01-15 14:57:04 +08:00
00c4ff4fa9
*: refactor Executor.Next() to receive RecordBatch ( #8994 )
2019-01-14 15:04:36 +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
8a6b965a8b
executor: accelerate unit test TestTSOFail ( #8717 )
2018-12-18 14:15:47 +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
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
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
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
edaec7bdaf
*: move Statement and RecordSet from ast to sqlexec package ( #7970 )
2018-10-21 13:21:26 +08:00
1730798019
*: udpate pd client vendor ( #7898 )
2018-10-15 19:32:59 +08:00
29441950a3
*: write system timezone into mysql.tidb in bootstrap stage. ( #7638 )
2018-09-14 22:15:00 +08:00
a7f4687791
store/gc_worker: Use UnsafeDestroyRange instead of DeleteRange in GC ( #7560 )
2018-09-14 21:33:57 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
06bf942aa4
update pdclent and kvproto ( #7629 )
2018-09-06 15:40:59 +08:00
364cd97ea3
*: update pd and kvproto vendor ( #7513 )
2018-08-28 15:01:13 +08:00
1dc41d8b79
add logs for replace and insert on dup ( #7436 )
2018-08-21 12:43:41 +08:00
233660af69
Revert "*: add a String method for Datum to make the log more friendly ( #7426 )" ( #7435 )
...
This reverts commit 7773b283907017ccf4835e22091c7a0508cf5383.
2018-08-20 15:17:17 +08:00
7773b28390
*: add a String method for Datum to make the log more friendly ( #7426 )
2018-08-20 14:09:26 +08:00
30e3e9e0ff
*: set the proper customized timezone ( #7372 )
2018-08-16 23:54:12 +08:00
34b0c6cb6d
mocktikv: add the batch put and batch delete for raw client ( #7330 )
2018-08-14 19:22:28 +08:00
396b242744
store: no need to assign timezone name to dagReq again ( #7368 )
2018-08-13 19:15:52 +08:00
791d6909da
tikvclient,mocktikv: add batch put API for raw kv ( #7135 )
2018-08-01 17:17:15 +08:00
2fba9931c7
*: remove DatumRow ( #7165 )
2018-07-26 19:42:58 +08:00
da6f0c1edd
ddl: initial support for parallel DDL ( #6955 )
2018-07-25 10:48:38 +08:00
a790c1583d
mocktikv: rename NewTestClient to NewTiKVAndPDClient ( #7052 )
2018-07-22 23:49:36 +08:00
7c18d24933
executor, store: fixed daylight saving time issue ( #6823 )
...
Thank you for working on TiDB! Please read TiDB's [CONTRIBUTING](https://github.com/pingcap/tidb/blob/master/CONTRIBUTING.md ) document **BEFORE** filing this PR.
## What have you changed? (mandatory)
During coprocessor dag task, it first uses timezone `name`, if non-empty, to get legitimate timezone variable. To achieve this, we need to push down such data into tikv which leads to change the logic of building pushdown request. The logic I mentioned mainly resides in `executor` package.
I change `timeZoneOffset` to `zone` and add second return parameter `name string`. The intentioned of doing this to adopt the convention of `time` package.
For the same purpose, I change `GetTimeZone` to `Location`. As you can see, in `time` package, timezone was bind to `Location`.
## What are the type of the changes (mandatory)?
- Bug fix (non-breaking change which fixes an issue)
## How has this PR been tested (mandatory)?
unit-test
integration-test will be added shortly
2018-07-16 18:15:19 +08:00
2945ddd899
vendor: update tipb ( #7055 )
2018-07-15 21:34:21 +08:00
afe45fd2ea
mockstore,tikv: fix that mocktikv ignore latches config ( #6932 )
2018-06-29 17:57:43 +08:00
ab332eba2a
executor: BadNullError should be ignored by insert ignore statement ( #6465 )
2018-06-29 13:15:31 +08:00
99aba76c90
*: Make 'IF NOT EXISTS' great again in 'CREATE TABLE IF NOT EXISTS LIKE' syntax ( #6896 )
2018-06-26 12:24:57 +08:00
3ac6d3a9f4
store/tikv: avoid holding write lock for long time ( #6880 )
...
Optimize RegionCache performance on send request failure.
2018-06-25 21:30:58 +08:00
48719d2019
stats: refine index row count estimation ( #6869 )
2018-06-22 15:48:36 +08:00
1e82cb9632
store, kvencoder: add a options to disable txn local latches in mockTikvStore, which may cause lightning to be oom. ( #6750 )
2018-06-05 11:19:05 +08:00
5c2d21eab4
*: remove function "NewChunk" ( #6524 )
2018-05-14 13:43:19 +08:00
b3bb5e8c8f
*: support warnings when using coprocessor streaming ( #6544 )
2018-05-13 22:10:58 -05:00
d876fc0fda
mocktikv: ignore lock when lock's type is Lock in get ( #6458 )
2018-05-07 14:08:58 +08:00
357d5df66b
remove useless alias ( #6473 )
2018-05-05 22:36:54 +08:00
5cbd8686df
mocktikv: tiny update ScanLock and ResolveLock function ( #6275 )
2018-04-16 21:59:55 +08:00
22ebc282d3
store/mockstore: Fix that DeleteRange didn't encode keys. ( #6264 )
2018-04-13 00:44:04 -05:00
f994f4f987
*: clean up MvccStore in mocktikv ( #6256 )
...
* *: clean up MvccStore in mocktikv
2018-04-11 10:30:27 +08:00
e2269bed01
*: make query feedback compatiable with tikv ( #6257 )
2018-04-10 21:09:25 +08:00
5200cf12f4
store: use MVCCLevelDB in 2pc_test.go testCommitterSuite ( #6246 )
...
* MVCCLevelDB is the default MVCCStore used by mocktikv, and the de facto
local store implementation, so test code should use this one.
2018-04-09 22:36:52 +08:00