Commit Graph

295 Commits

Author SHA1 Message Date
birdstorm eecae1663e
Fix batch retry hanging when tikv is down (#145)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-23 17:21:01 +08:00
birdstorm 7cedfca241
fix update leader (#144)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-22 17:49:14 +08:00
birdstorm bee21d4f66
Fix store not match (#141)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-17 20:12:11 +08:00
birdstorm c9507c2fa7
Add atomic api support (#140)
* add atomic api support

Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-15 19:58:25 +08:00
birdstorm 56331e2f98
Optimize and Fix minor bugs on master (#139) 2021-03-11 21:25:40 +08:00
birdstorm af7326c96c
revert small lock optimization (#136)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-02-27 19:10:26 +08:00
birdstorm ce1a95780c
Fix batch put StackOverflow (#134)
* fix batch put stack overflow

Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-02-27 18:37:03 +08:00
birdstorm b979acdae0
modify shade pattern from shade.x to org.tikv.shade.x (#132)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-02-24 20:11:00 +08:00
birdstorm 1a7d5805cc
Fix cache missing because of recreation of RegionManager (#131)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-02-23 14:23:19 +08:00
birdstorm 45219438f9
Add TTL support (#129)
* add ttl support

Signed-off-by: birdstorm <samuelwyf@hotmail.com>

* fix time unit

Signed-off-by: birdstorm <samuelwyf@hotmail.com>

* ignore test temporary

Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-02-21 14:31:49 +09:00
birdstorm 10d8efbbc4
update kvproto version (#128)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-02-20 15:36:54 +08:00
birdstorm 7dfa1df52c
modify rawkv backoff time (#127)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-02-20 14:20:23 +08:00
birdstorm c84058e53a
retry when error is raft proposal dropped (#124)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-02-20 14:13:11 +08:00
birdstorm 7bef552b8e
Add DeleteRange API (#121)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-02-20 14:09:59 +08:00
Liangliang Gu 0d4b27bcd3
update function getNextFollower (#125)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-02-18 16:35:40 +08:00
birdstorm ab9ccfb6e2
add scan prefix API (#122)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-02-18 13:57:42 +08:00
Liangliang Gu f7aa9c6cfc
check format (#123)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-02-04 11:06:23 +08:00
birdstorm 25e0ab3b14
Add Batch APIs (#118) 2021-02-01 11:38:12 +08:00
Liangliang Gu a627ad6f8d
add ci (#120)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-02-01 11:13:32 +08:00
Liangliang Gu f58a530948
do not use TiSession.getInstance (#117) 2021-01-27 11:23:32 +08:00
birdstorm 66fd0690a9
modify tisession api document (#116)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-21 11:11:44 +08:00
birdstorm 76b731f8be
add raw empty scan test (#115)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-19 14:15:10 +08:00
birdstorm ad8a392645
fix getRegionByKey when using raw mode (#114)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-16 09:49:41 +08:00
birdstorm 4fb17db417
add raw scan api without limit (#113)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-15 13:34:03 +08:00
birdstorm 80eecbd348
fix raw batch put (#84)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-14 18:01:15 +08:00
birdstorm 4b07ecf0ac
fix shaded jar (#112)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-14 13:16:59 +08:00
birdstorm 15ed11dbd5
fix date time type decoding in row (#111)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-12 10:39:32 +08:00
birdstorm 30806814d2
fix empty enum type (#110)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-12 10:38:48 +08:00
birdstorm dfbd43b5b0
update pom version to v3.0.2 (#109)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-11 15:15:00 +08:00
birdstorm d96291706e
fix zero in date parsing (#108)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-11 11:52:11 +08:00
birdstorm 07e9040130
fix enum index out of range error (#106)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-01-11 10:46:30 +08:00
birdstorm a0229f56aa
fix key not in region (#104)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2020-12-23 11:20:41 +08:00
birdstorm 0d15c5269c
Support follower read (#96) 2020-11-25 08:37:11 +08:00
birdstorm 9dc52d8daa
update pom description (#98)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2020-11-17 21:11:46 +08:00
birdstorm 1d8e58a9d0
Fix incorrect date type value when timezone is set (#97)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2020-10-30 14:18:45 +08:00
birdstorm 5f3d9f5aa4
remove bazel support from document (#94)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2020-10-26 10:38:57 +08:00
Liangliang Gu 2ffd861170
remove gradle support (#93)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2020-10-26 10:38:17 +08:00
Liangliang Gu 0833a95227
update version to 3.0.1-SNAPSHOT (#92)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2020-10-23 14:07:02 +08:00
birdstorm df03a622e0
Reform java client to combine with TiSpark's java client (#91) 2020-10-21 19:10:18 +08:00
Mike 26121ee224
RawGet changes the while (true) mechanism to a retry limit. (#90)
Signed-off-by: mikechengwei <842725815@qq.com>
2020-09-11 20:08:56 +08:00
birdstorm 41aeed2679
Reform java client (#83) 2020-09-07 14:13:09 +08:00
birdstorm 9a0b8681db
Add retry limit for rawPut (#81)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2020-05-13 13:55:07 +08:00
birdstorm 2ca05e9256
update raw scan api (#78)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2020-05-12 16:00:11 +08:00
birdstorm 863b07d6d3
fix gradle build with shading (#77)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2020-01-02 14:39:56 +08:00
birdstorm 16af37c80c
Remove bazel support (#76)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2019-12-30 16:51:46 +08:00
birdstorm 67a9553c62
fix unshaded grpc dependency in pom (#75)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2019-12-30 14:00:11 +08:00
birdstorm 0e2889d252
shade grpc in pom to avoid conflict (#74)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2019-12-27 16:38:47 +08:00
guliangliangatpingcap 116c1f49dc Remove invalid link for TODO (#70) 2019-09-18 18:18:49 +08:00
Liangliang Gu 2ceec148c1 fix compile error becase of proto (#65) 2019-08-14 14:38:45 +08:00
birdstorm 24ed19b582 Fix ScanIterator may fail when an error encounters (#63) 2019-06-14 17:41:27 +08:00