Commit Graph

210 Commits

Author SHA1 Message Date
Jian Zhang 19a9ab0ae3
[close #436] fix license header for org.tikv.common (#452) 2021-12-30 17:14:30 +08:00
Liangliang Gu 704fb00551
set autoReleaseAfterClose to true (#450)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-12-30 14:07:43 +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
Jian Zhang 400aa67373
[to #348] add introduction for the whole document (#428) 2021-12-22 21:34:42 +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
Jian Zhang aacd337f0b
[close #388] remove the pr branch labeler action (#414) 2021-12-17 12:23:20 +08:00
Jian Zhang 87f37a51ef
[to #348] fix gh-pages can not deploy rendered documents (#409) 2021-12-15 21:44:45 +08:00
Ankita Wagh 655d63fbba
[close #385] Adding JKS support for TLS (#401) 2021-12-15 16:34:11 +08:00
Jian Zhang 911f2c5e32
[to #348] use mdbook and github action to maintain documents (#407) 2021-12-15 15:40:17 +08:00
Jian Zhang 1af9f95985
[close #405] update PR and issue template (#406) 2021-12-15 13:05:14 +08:00
Jian Zhang cc9f3b62e6
[to #348] refine content in README (#360) 2021-12-14 20:03:10 +08:00
Liangliang Gu ef22bd36b5
add grafana metrics for circuit break (#398)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-12-14 14:30:34 +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
humengyu 2eb77d6891
[close #370] make gRPC and TiKV health check configurable (#369) 2021-12-10 23:55:11 +08:00
Xiaoguang Sun d8841e7fed
[close #380] make gRPC idle timeout configurable (#379) 2021-12-10 03:53:39 +08:00
iosmanthus c95479e8ad
[close #375] warm up RawKVClient while creating it (#367) 2021-12-10 03:47:48 +08:00
iosmanthus 8dcd2c14f1
[close #375] warm up SmartRawKVClient while creating it (#376) 2021-12-09 23:59:45 +08:00
Liangliang Gu 48504bc322
[close #372] add circuit breaker and smart rawkv client (#358) 2021-12-09 20:30:59 +08:00
iosmanthus 1dd7cbabe8
fix seekLeaderStore NPE (#366) 2021-12-09 16:29:16 +08:00
birdstorm bb3ace76c1
Fix NullPointerException in getStore (#359) 2021-12-07 00:12:34 +08:00
Liangliang Gu f12d19d0a1
log SlowLog if error occures (#361) 2021-12-06 15:38:25 +08:00
Liangliang Gu b61b9cd938
check timeout during SeekLeader and SeekProxy (#352) (#357)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-12-02 10:01:54 +08:00
Liangliang Gu 1886700118
Batch cherry pick from release-3.1 (#356)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
Signed-off-by: birdstorm <samuelwyf@hotmail.com>
Signed-off-by: Little-Wallace <bupt2013211450@gmail.com>
2021-12-01 20:51:41 +08:00
Ankita Wagh e2f10aa2ab
Add a flag to determine if TiFlash is enabled (#351)
Signed-off-by: Ankita Wagh <awagh@pinterest.com>
2021-11-30 16:35:41 +08:00
Jian Zhang 093fd5988e
add Makeflie to simplify build/test/format tasks (#346)
Signed-off-by: Jian Zhang <zjsariel@gmail.com>
2021-11-29 17:25:41 +08:00
Jian Zhang c642d3e3ca
refactor getRegionStoreClientBuilder to improve readability (#349)
Signed-off-by: Jian Zhang <zjsariel@gmail.com>
2021-11-29 17:15:10 +08:00
Jian Zhang 43e4fa384e
add the labeler github action (#347)
Signed-off-by: Jian Zhang <zjsariel@gmail.com>
2021-11-29 17:06:41 +08:00
humengyu 5ae87b1608
TwoPhaseCommiter log should be debug level (#334)
Signed-off-by: humengyu <hellohumengyu@gmail.com>
2021-11-20 10:25:13 +08:00
Peng Guanwen 75a700f034
Fix typo in error message (#330)
Signed-off-by: Peng Guanwen <pg999w@outlook.com>
2021-11-18 12:56:36 +08:00
iosmanthus 7d47010874
metrics: enrich grafana panel (#322)
* enrich grafana panel

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

* fix datasource

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2021-11-15 10:45:54 +08:00
Liangliang Gu 489e5c22ec
fix unclosed Thread when create TiSession error (#300)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-10-28 16:28:27 +08:00
Liangliang Gu f9cb05784d
Support load configuration from tikv.properties on classpath (#297)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-10-27 20:07:25 +08:00
Liangliang Gu 11bd22234d
Support configuration property file (#295)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-10-27 16:52:58 +08:00
Liangliang Gu b82276231c
support DataEncode in BackupMeta (#287)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-10-25 10:10:27 +08:00
Liangliang Gu 599da193df
pd backoff use tikv.rawkv.default_backoff_in_ms (#288) (#291)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-10-22 16:01:48 +08:00
Liangliang Gu f3a3abf3ef
add Serializable for BackupDecoder (#286)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-10-15 13:48:43 +08:00
Liangliang Gu bbe4f9b0c4
Support SST Decoder (#284) 2021-10-14 17:13:57 +08:00
Liangliang Gu dcea3b305c
ignore ci test with TxnKV (#281)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2021-09-30 13:37:22 +08:00
Peng Guanwen 869124880e
All keepTiKVToImportMode after stopped (#283) 2021-09-30 10:30:14 +08:00
Peng Guanwen d543ae73c0
PDClient: Add function to call pause checker API (#277) 2021-09-28 11:46:44 +08:00
Liangliang Gu 28380512f3
support tls (#280) 2021-09-28 11:13:11 +08:00
Rahil 37506fe091
Simplified condition (#273)
Signed-off-by: Rahil <rahilrshk@gmail.com>
2021-09-22 10:52:18 +08:00