Commit Graph

272 Commits

Author SHA1 Message Date
Liangliang Gu 7fe64c60e7
update readme (#197)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-06-16 15:31:05 +08:00
Iosmanthus Teng 52f8c25d8b
rawclient: add batch scan keys (#191)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-06-09 15:47:58 +08:00
Iosmanthus Teng 3be4daf78c
fix build issue in `nix-shell --pure` (#190)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-06-09 09:48:21 +08:00
birdstorm f76a267f5b
Fix pd retry not recovered for 60s (#182)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-06-08 14:31:51 +08:00
birdstorm 98f0c131d0
fix-bug-report template (#188)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-06-08 11:20:37 +08:00
Iosmanthus Teng b9736f6f18
improve build scripts (#186)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-06-07 17:50:51 +08:00
Chase Zhang d469a2a10c
Add CDCClient to client-java with a few tiny changes for TiFlink (#174) 2021-06-07 10:04:35 +08:00
Lifu Wu 00c043bc77
fix error on new ci (#185)
fix a jenkins error on new ci: Caused: java.io.NotSerializableException: java.util.regex.Matcher

Signed-off-by: purelind <purelind@gmail.com>
2021-06-04 19:00:29 +08:00
birdstorm a3ac697de1
add request retry number metrics for client (#183)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-06-04 15:41:06 +08:00
birdstorm 30e1e87e0d
fix concurrent backoffer (#172)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-05-27 16:06:40 +08:00
birdstorm 82d6a020df
invalidate all region cache on store when store id not found (#170) (#173)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-05-27 16:06:23 +08:00
zhoney 4e8f5f8369
return wrapped iterator for scan(RawKVClient) (#169)
Signed-off-by: zhangyi51 <zhangyi51@baidu.com>
2021-05-13 12:43:10 +08:00
Qishang Zhong 5265d3fd7b
Create a daemon thread pool for etcd client & Add name format for ExecutorService (#167)
Signed-off-by: Qishang Zhong <zhongqishang@gmail.com>
2021-04-25 10:41:16 +08:00
tison 45f5b91a67
Remove unused files (#165) 2021-04-19 14:40:46 +08:00
Liangliang Gu 8d6d663df8
fix oom cause missing data bug (#163)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-04-12 10:28:20 +08:00
Peter Levart 19787278c1
Allow building on JDK9+ by getting rid of DirectByteBuffer dependency (#155)
Signed-off-by: Peter Levart <peter.levart@gmail.com>
2021-04-07 12:54:52 +08:00
birdstorm 61d15408f4
remove list copy (#160)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-31 16:14:17 +08:00
tison 9e089e90c4
adjust markdown code for properly render README (#159)
Signed-off-by: tison <wander4096@gmail.com>
2021-03-30 13:45:35 +08:00
birdstorm a849dd169d
add issue and pr template (#157)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-29 19:46:57 +08:00
birdstorm a654c55667
Update version to 3.1.0-SNAPSHAOT (#152) (#153)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-29 13:29:06 +08:00
birdstorm 7113b8502e
Update version to 3.1.0-SNAPSHAOT (#152)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-26 16:02:18 +08:00
Liangliang Gu 6f20129c9c
add replica selector (#151)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-03-26 15:55:53 +08:00
Liangliang Gu e84f2f819e
refactor follower read (#126)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-03-26 11:45:51 +08:00
birdstorm f24dce7a14
Add test batch put strategy (#150)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-25 17:39:31 +08:00
birdstorm a9f6259105
Add docs for configurations (#146)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-25 17:38:43 +08:00
Wallace dde59a38f8
Fix putIfAbsent API name (#149)
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
2021-03-25 17:04:12 +08:00
birdstorm 762153a550
Add Network Mapping (#143)
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-03-23 17:42:04 +08:00
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