Commit Graph

272 Commits

Author SHA1 Message Date
Liangliang Gu a99f3fcd04
[to #480] update grafana for netty grpc metrics (#493)
* update grafana for netty grpc metrics

Signed-off-by: marsishandsome <marsishandsome@gmail.com>

* address code review

Signed-off-by: marsishandsome <marsishandsome@gmail.com>
2022-01-26 10:23:41 +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 27691a3845
[close #467] clean pb repo and target while make clean (#468) 2022-01-04 18:17:05 +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
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