Commit Graph

191 Commits

Author SHA1 Message Date
shi yuhang 8cb7a8294c
[close #663] Select TiFlash Stores Round-Robin (#662) 2022-11-01 15:55:18 +08:00
iosmanthus 1b5edcd8ab
[close #639] reduce lock granularity of RegionStoreClient and PDClient (#638) 2022-07-31 20:43:01 +08:00
iosmanthus 506d58f634
[close #634] fix rawBatchPut hang while batch size is larger than MAX_RAW_BATCH_LIMIT (#640) 2022-07-29 18:56:42 +08:00
iosmanthus 3128161b1f
[close #635] constraint the getMember timeout by inject a backoffer (#636)
* constraint the getMember timeout by inject a backoffer

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>

* fix checkHealth unlimited retry

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>

* ./dev/javafmt

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>

* fix unstable test

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>

* unify default backoffer in tryUpdateLeader

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2022-07-27 21:03:07 +08:00
Trafalgar Ricardo Lu 5a757d95e5
[fix #623] region may be missed (#624) 2022-06-30 17:34:23 +08:00
Daemonxiao 3724e87df6
[close #619] Shutdown recycler when closing ChannelFactory to avoid resource leak (#618)
Co-authored-by: iosmanthus <dengliming@pingcap.com>
2022-06-22 13:19:59 +08:00
iosmanthus d6a15c4ccc
[close #616] check store version while using API V2 (#617) 2022-06-20 22:05:43 +08:00
Daemonxiao 75f0586338
fix TLS reload doesn't work after delete cert file (#609)
Co-authored-by: iosmanthus <myosmanthustree@gmail.com>
2022-06-14 22:53:19 +08:00
iosmanthus aacbb8c849
[close #606]: change the default prefix for API v2 (#607) 2022-06-06 21:22:03 +08:00
iosmanthus 9ce52d3401
[to #555] enable api v2 (#575) 2022-06-02 16:33:28 +08:00
iosmanthus 774ee50189
[close #596] fix tls reloading encouter slow thread npe (#597) 2022-05-18 11:16:17 +08:00
xieyi888 3163793311
[close #600] `ScanIterator` missing fetch the region keys because the wrong limit setting
Signed-off-by: Yi Xie <xieyi01@rd.netease.com>

Co-authored-by: Yi Xie <xieyi01@rd.netease.com>
2022-05-13 00:07:29 +08:00
iosmanthus 09cb452c2e
[close #588] support tls reload (#589) 2022-04-19 12:14:07 +08:00
shiyuhang0 56d64ef5c2
[fix #537] fix convert byte[] to long error (#538)
Co-authored-by: Liangliang Gu <marsishandsome@gmail.com>
Co-authored-by: Jian Zhang <zjsariel@gmail.com>
2022-03-29 14:28:02 +08:00
iosmanthus 6cbf56aede
[to #556] metrics: attach cluster label to metrics (#558) 2022-03-28 01:20:50 +00:00
iosmanthus f4e7c302ad
[close #570] mockserver: fix unstable mock server cluster setup (#571) 2022-03-25 16:34:17 +08:00
iosmanthus 36d010973f
[to #464] add unit tests for exported API of RawKVClient (#471)
Co-authored-by: Jian Zhang <zjsariel@gmail.com>
2022-03-24 06:47:08 +00:00
Liangliang Gu 92fea3289a
[close #519] remove cdc and br releated components (#563) 2022-03-23 06:48:55 +00:00
iosmanthus e89ca5f37b
[close #550] rawkv: fix seek leader/proxy store early abort (#551)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2022-03-23 12:48:48 +08:00
iosmanthus d354ffc99a
[to #556] slowlog: attach cluster_id and pd_addresses to slow log properties (#557) 2022-03-21 17:39:18 +08:00
iosmanthus 97983823cc
[close #540] rawkv: fix scan return empty set while exist empty key (#541) 2022-03-01 14:35:29 +08:00
iosmanthus d24b8e9da7
[to #439] introduce MockThreeStoresTest to onStoreUnreachable (#518)
Co-authored-by: Jian Zhang <zjsariel@gmail.com>
2022-02-21 16:14:22 +08:00
Peng Guanwen a0e35b50f9
[close #515] Slowlog: Always calculate duration (#516)
Co-authored-by: Andy Lok <andylokandy@hotmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2022-02-15 16:51:52 +08:00
Liangliang Gu a86939c86a
[close #459] use target store context instead of proxy store context when calling grpc forward (#458)
Co-authored-by: Jian Zhang <zjsariel@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2022-02-14 17:43:10 +08:00
Peng Guanwen 4f136193b0
[to #348] Add examples to docs (#453) 2022-02-11 14:34:49 +08:00
haojinming 84bff75e85
[close #511] add LockSupport metrics (#512) 2022-02-11 11:12:03 +08:00
Peng Guanwen 7122903f1d
[to #477] Change SlowLog interface to align with tracing (#485) 2022-02-10 15:42:01 +08:00
Liangliang Gu 6a6967a362
let JVM ClassLoader load gRPC error related classes during warmup (#496)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2022-01-25 13:01:49 +08:00
iosmanthus 8f350fa771
add netty mempool metrics (#487)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>

Co-authored-by: Liangliang Gu <marsishandsome@gmail.com>
2022-01-21 15:43:03 +08:00
iosmanthus a7e0e74bd7
[close #489 ] fix backoffer data race (#490) 2022-01-21 14:55:06 +08:00
iosmanthus 9eb17534d6
[to #480] add netty allocator source code (#486) 2022-01-21 10:06:38 +08:00
Liangliang Gu 4f0ec58376
add metrics inside grpc and netty (#484)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2022-01-20 13:38:54 +08:00
Liangliang Gu 7e28f71730
add netty source code (#481)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2022-01-18 14:19:10 +08:00
Liangliang Gu 2cd2b073da
[close #435] SimpleDateFormat is not threadsafe (#479) 2022-01-18 13:16:05 +08:00
Peng Guanwen a0ef75da78
[close #465] implement AutoClosable for TwoPhaseCommitter (#466) 2022-01-05 16:27:07 +08:00
iosmanthus 712509f771
[to #462] add version constraint for rawkv tests (#463) 2022-01-04 15:27:22 +08:00
iosmanthus 5dbfe03b2c
[close #419] upgrade kvproto to fix rawBatchPut compatibility (#441)
* upgrade kvproto to fix batch put

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>

* use pingcap kvproto

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>

Co-authored-by: Jian Zhang <zjsariel@gmail.com>
2021-12-31 16:49:04 +08:00
Jian Zhang 19a9ab0ae3
[close #436] fix license header for org.tikv.common (#452) 2021-12-30 17:14:30 +08:00
Jian Zhang 85aa64177c
[to #436] fix license header for files other than org.tikv.common (#448) 2021-12-28 14:10:13 +08:00
Peng Guanwen 41d11ff035
[to #348] Add javadoc (#447)
Signed-off-by: Peng Guanwen <pg999w@outlook.com>
2021-12-28 09:33:26 +08:00
Qishang Zhong b94b3cbce7
[close #446] Fix Optional fields type (#445) 2021-12-27 22:54:23 +08:00
Liangliang Gu d14713a961
fix slowlog in ConcreteBackOffer (#443)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-12-24 16:54:18 +08:00
Jian Zhang 96d39e8aa3
[close #49] change copyright from PingCAP to TiKV Project Authors (#431) 2021-12-24 15:45:32 +08:00
Liangliang Gu 86606dff50
[close #433] fix calling getStoreById without backoffer (#434) 2021-12-24 15:05:35 +08:00
birdstorm 468e999c2b
[to #375] use scanRegions request to warm up client (#383) 2021-12-24 11:48:25 +08:00
iosmanthus f5b8d97da7
[close #397] add git commit hash and version info while TiSession create (#408) 2021-12-22 17:13:54 +08:00
Liangliang Gu 1405fe7c80
[close #404] use System.nanoTime() to calculate duration, cause System.currentTimeMillis() is not monotonic (#402)
* use System.nanoTime() to calculate duration, cause System.currentTimeMillis() is not monotonic

Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-12-17 14:26:24 +08:00
Ankita Wagh 655d63fbba
[close #385] Adding JKS support for TLS (#401) 2021-12-15 16:34:11 +08:00
Liangliang Gu 2657f5abdb
fix SmartRawKVClient close (#393)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-12-11 20:41:44 +08:00
Jian Zhang faf1da74bf
[fix #389] move CircuitBreaker to TiSession (#390) 2021-12-11 20:06:53 +08:00