7755d25aba
*: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers ( #27198 )
2021-08-16 18:52:00 +08:00
a8ea9a75f2
store/tikv: make failpoints without code generations ( #25247 )
2021-06-10 17:58:29 +08:00
37472dc06b
store/tikv: move region_* into package store/tikv/region ( #25205 )
2021-06-10 15:54:30 +08:00
b54603637c
store/tikv: remove Variables.Hook ( #24758 )
2021-05-20 04:49:40 +08:00
39762c9d19
store/tikv: move kv.Variables from tidb/kv to tikv/kv package ( #24189 )
2021-04-23 10:41:54 +08:00
1970a917c1
store/tikv: fix unstable tests in snapshot_fail_test.go ( #22916 )
2021-02-24 21:04:03 +08:00
b226130926
session: fix linearizability for non-autocommit async-commit txn ( #22879 )
...
* fix linearizability for non-autocommit async-commit txntxn
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* add IsExplicit flag
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* set missing cases
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* remove redundant assignment
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* revert go sum change
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* fmt
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
* clarify comment
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
2021-02-24 13:32:48 +08:00
9cb9b69b61
session: ignore linearizability setting for auto-commit transactions ( #22746 )
...
Signed-off-by: Yilin Chen <sticnarf@gmail.com >
2021-02-18 15:02:32 +08:00
d0639b0056
*: use the newly designed memdb ( #18657 )
...
* *: use the newly designed memdb
* address comments
* remove duplicated comments
Co-authored-by: Evan Zhou <coocood@gmail.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-03 20:51:05 +08:00
3906d5a4da
store: convert request error to warning when cop request to tidb ( #15410 )
2020-03-23 13:19:39 +08:00
97a049a2be
*: make Backoff perceive the Killed flag to fix MAX_EXECUTION_TIME ( #14552 )
2020-02-03 12:31:56 +08:00
a61e3cc324
session: move the failpoint test to testSessionSerialSuite ( #14089 )
2019-12-17 12:30:16 +08:00
2082b68a41
test: optimize session&planner/core unit test ( #13580 )
2019-11-27 17:25:55 +08:00
657b5236b8
session: make TestInnodbLockWaitTimeout faster and remove useless testcase ( #13383 )
2019-11-13 13:37:36 +08:00
253cd1f8ab
session: remove the mockFail field from txnFuture ( #12545 )
...
Signed-off-by: Lonng <heng@lonng.org >
2019-10-08 23:30:47 +08:00
a3b3326a21
store: fix data race in mock PD timeout error ( #10514 )
2019-05-17 14:44:19 +08:00
d8589df2f3
*: add a variable to control the back off time and disable txn auto retry by default ( #10266 )
2019-05-08 10:23:49 +08:00
27a56180bd
*: replace gofail with the new failpoint implementation ( #10184 )
2019-04-22 13:30:14 +08:00
560e8cfe57
*: sleep 0 when retry whole transaction ( #9454 )
2019-03-02 13:16:28 +08:00
73655f64a1
session: skip the SQL execution if transaction is aborted and reset aborted status in retry ( #8942 )
2019-01-11 15:26:51 +08:00
41ad62696c
session: add a doNotCommit flag to transaction when StmtCommit fail ( #8918 )
2019-01-03 16:38:59 +08:00
b6c05126e3
session: add gofail test for ( #8743 ) ( #8801 )
2018-12-25 19:19:09 +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
39c0306d5e
session: add error log to catch bug stack in Commit ( #8687 )
2018-12-14 16:48:04 +08:00
22519aefc2
*: update import path from coreos/gofail to etcd-io/gofail to fix ci ( #7329 )
2018-08-09 15:48:01 +08:00
f287451eed
tidb: move tidb/*.go to session directory ( #6062 )
...
This change makes our top level directory clean.
2018-03-20 09:06:11 -05:00