Liangliang Gu
5aebd12a37
add configration parameter for RawKV timeout ( #246 )
...
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-08-05 17:42:42 +08:00
Liangliang Gu
2009982676
format code ( #248 )
...
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-08-05 10:59:02 +08:00
Liangliang Gu
2327f9189f
Revert "fix backoff time ( #241 )" ( #247 )
...
This reverts commit 7fe59efd4a
.
2021-08-05 10:52:16 +08:00
Liangliang Gu
7ecacd7b20
refactor TiSession.getSwitchTiKVModeClient ( #240 )
...
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-07-29 19:52:24 +08:00
Liangliang Gu
5545270f15
shade jackson ( #239 )
...
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-07-28 15:25:54 +08:00
Liangliang Gu
257f3062c4
TiSession support graceful close ( #238 )
...
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-07-28 14:15:57 +08:00
Wallace
7fe59efd4a
fix backoff time ( #241 )
2021-07-28 11:01:19 +08:00
Liangliang Gu
798244cd9e
RawKV support SST Ingest using KVStream interface ( #233 )
2021-07-22 16:40:55 +08:00
Wallace
faf0cb435d
fix test ( #235 )
...
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
2021-07-21 21:34:21 +08:00
Wallace
d4d1c6ac6a
Try other peer when current leader of this region is not available. ( #232 )
...
* Auto switch leader peer rather than ask PD.
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
2021-07-15 11:20:49 +08:00
Wallace
48b104f196
Refactor Region Cache to reduce lock ( #228 )
...
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
2021-07-07 11:37:51 +08:00
Wallace
01898542c5
Forward request by store ( #223 )
...
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
2021-07-01 01:35:21 +08:00
Liangliang Gu
630e1513e9
Support metrics with multiple TiSessions with the same port ( #220 )
...
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-06-29 15:30:21 +08:00
birdstorm
309c521e98
Update document for v3.1.0 ( #215 )
2021-06-25 13:49:16 +08:00
Liangliang Gu
d90237f16c
Refactor RawKVClient CAS API ( #213 )
...
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-06-24 11:55:21 +08:00
Xiaoguang Sun
fe6617e3c0
Support select replica with rich meta data ( #171 )
...
Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
2021-06-23 15:50:21 +08:00
Wallace
550487db9c
fix not stop scheduler ( #207 )
...
* fix not stop scheduler
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
* address comment
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
2021-06-23 15:00:47 +08:00
Wallace
d29cf0079c
pd-client grpc forward ( #203 )
...
* forward pd leader
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
2021-06-22 18:22:42 +08:00
Liangliang Gu
c7dd5310df
update pom version to 3.2.0-SNAPSHOT ( #204 )
...
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-06-22 12:03:49 +08:00
Wallace
5815678c56
Support grpc forward ( #198 )
...
* support grpc forward for tikv client
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
2021-06-18 18:25:58 +08:00
Andy Lok
8308d796e7
Add CompareAndSet for RawClient and make Get returns Optional ( #192 )
...
* Add CompareAndSet for RawClient and make Get returns Optional
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* Apply suggestions from code review
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
Co-authored-by: Liangliang Gu <marsishandsome@gmail.com>
* Format code
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* Add putIfAbsent
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* Rename sth
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* Remove .vscode
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* Remove .settings
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* Delete .classpath
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* Fix deadloop
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* Enable TTL and CAS test
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* Fix test
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
* rebase #202
Signed-off-by: Andy Lok <andylokandy@hotmail.com>
Co-authored-by: Liangliang Gu <marsishandsome@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2021-06-18 14:00:05 +08:00
birdstorm
c6d7f0478c
fix scan exception when the start key is empty (lower_bound) ( #199 )
...
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
2021-06-17 15:56:20 +08:00
Wallace
4a401776d1
refactor kverrorhandler ( #196 )
...
* refactor kverrorhandler
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
2021-06-16 22:15:49 +08:00
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