Commit Graph

295 Commits

Author SHA1 Message Date
Jia Fan c12047a026
[to #788] Reduce the number of ObjectMapper creations to improve performance (#787)
Signed-off-by: Jia Fan <fanjiaeminem@qq.com>
2025-03-29 18:39:33 +08:00
jackjeyis 700fad0167
[close #774] Add TwoPhaseCommitter new Constructor contains executorService(#774) (#775)
* add TwoPhaseCommitter new Constructor contains executorService(#774)

Signed-off-by: b.tian <b.tian@trip.com>

* [close #671] remove shadowing of netty && grpc (#781)

Signed-off-by: b.tian <b.tian@trip.com>

* [close #782] bump grpc to 1.60.0 (#783)

Signed-off-by: b.tian <b.tian@trip.com>

* [close #774]remove redundant code

---------

Signed-off-by: b.tian <b.tian@trip.com>
Co-authored-by: b.tian <b.tian@trip.com>
Co-authored-by: iosmanthus <dengliming@pingcap.com>
Co-authored-by: shi yuhang <52435083+shiyuhang0@users.noreply.github.com>
2024-06-04 11:36:09 +08:00
iosmanthus ca8a622ea1
[close #782] bump grpc to 1.60.0 (#783) 2024-03-28 08:47:59 +00:00
iosmanthus 0af438476a
[close #671] remove shadowing of netty && grpc (#781) 2024-03-28 08:12:38 +00:00
Ping Yu 533dbc23a1
[to #763] Pick bug fixes of API v2 codec to master (#769)
* [cherry-pick] ignore invalid region while decoding EpochNotMatch (#765)

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
Signed-off-by: Ping Yu <yuping@pingcap.com>

* fix region out of keyspace (#766)

* fix region decoding

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

* add test for decodeRegion

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

* add more tests for decodeRegion

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

---------

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
Signed-off-by: Ping Yu <yuping@pingcap.com>

* [to #763] Complement v2 codec unit test cases (#768)

* complement v2 codec unit test cases.

Signed-off-by: Ping Yu <yuping@pingcap.com>

* fix fmt

Signed-off-by: Ping Yu <yuping@pingcap.com>

---------

Signed-off-by: Ping Yu <yuping@pingcap.com>

---------

Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
Signed-off-by: Ping Yu <yuping@pingcap.com>
Co-authored-by: iosmanthus <dengliming@pingcap.com>
2023-10-07 16:16:49 +08:00
Ping Yu 3b503fbf4d
[close #772] Fix flaky integration tests (#770)
* wait for tiup playground by grep

Signed-off-by: Ping Yu <yuping@pingcap.com>

* test on one version first

Signed-off-by: Ping Yu <yuping@pingcap.com>

* wip

Signed-off-by: Ping Yu <yuping@pingcap.com>

* reduce tikv resource usage

Signed-off-by: Ping Yu <yuping@pingcap.com>

* wip

Signed-off-by: Ping Yu <yuping@pingcap.com>

* wait for bootstrap

Signed-off-by: Ping Yu <yuping@pingcap.com>

* print logs on error

Signed-off-by: Ping Yu <yuping@pingcap.com>

* add api v2 test suite

Signed-off-by: Ping Yu <yuping@pingcap.com>

* use different port

Signed-off-by: Ping Yu <yuping@pingcap.com>

* specify kv.port

Signed-off-by: Ping Yu <yuping@pingcap.com>

* add more versions

Signed-off-by: Ping Yu <yuping@pingcap.com>

---------

Signed-off-by: Ping Yu <yuping@pingcap.com>
2023-10-07 16:01:36 +08:00
shi yuhang cb26d58a41
[fix #740] Add more logs in getregionstore (#751)
* optimize getregionstore logical

Signed-off-by: shiyuhang <1136742008@qq.com>

* decrease impact

Signed-off-by: shiyuhang <1136742008@qq.com>

* Update RegionManager.java

Signed-off-by: shiyuhang <1136742008@qq.com>

* [close #749] Fix health checking issue (#748)

Signed-off-by: shiyuhang <1136742008@qq.com>

* Update RegionManager.java

Signed-off-by: shiyuhang <1136742008@qq.com>

* add log

Signed-off-by: shiyuhang <1136742008@qq.com>

* change log level

Signed-off-by: shiyuhang <1136742008@qq.com>

---------

Signed-off-by: shiyuhang <1136742008@qq.com>
2023-05-31 16:50:33 +08:00
shi yuhang 71676ee369
[close #749] Fix health checking issue (#748)
Signed-off-by: shiyuhang <1136742008@qq.com>
2023-05-25 21:20:34 +08:00
dependabot[bot] 8d70ed2816
Bump jackson-databind from 2.13.2.2 to 2.13.4.2 (#735)
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-27 22:51:54 +08:00
shi yuhang e8feb23344
[close #736] Select reachable store (#737)
Signed-off-by: shiyuhang <1136742008@qq.com>
2023-04-27 18:35:45 +08:00
shi yuhang 91b143988b
fix CI (#741)
Signed-off-by: shiyuhang <1136742008@qq.com>
2023-04-27 18:14:52 +08:00
shi yuhang a523312f01
fix byte overflow (#728)
Signed-off-by: shiyuhang <1136742008@qq.com>
2023-03-07 15:26:56 +08:00
Jiaming Lu c1c804c865
Upgrade protobuf version so that it will build on M1 Macs (#714)
Signed-off-by: Jiaming Lu <jiaming.lu@simplytyped.cn>
Co-authored-by: Jiaming Lu <jiaming.lu@simplytyped.cn>
Co-authored-by: shi yuhang <52435083+shiyuhang0@users.noreply.github.com>
2023-03-07 14:39:31 +08:00
shi yuhang bcd11f34ca
[to #773] implement UpdateServiceGCSafePoint (#723)
* implement UpdateServiceGCSafePoint

Signed-off-by: shiyuhang <1136742008@qq.com>
2023-03-07 14:21:08 +08:00
shi yuhang 2c48b4a358
fix pair equality check (#724)
Signed-off-by: shiyuhang <1136742008@qq.com>
2023-03-03 23:55:40 +08:00
tomato dda1029b94
[close #654] Add RegionCacheInvalidCallBack (#653)
* Close #654 To let the upper layers customize their own behavior when the region cache fails, Add RegionCacheInvalidCallBack.

Signed-off-by: qidi1 <1083369179@qq.com>

* change callback to list

Signed-off-by: qidi1 <1083369179@qq.com>

* format code

Signed-off-by: qidi1 <1083369179@qq.com>

* change as comment

Signed-off-by: qidi1 <1083369179@qq.com>

* change to synchronized

Signed-off-by: qidi1 <1083369179@qq.com>

* change list to copy on write

Signed-off-by: qidi1 <1083369179@qq.com>

* change to muti thread

Signed-off-by: qidi1 <1083369179@qq.com>

* format code

Signed-off-by: qidi1 <1083369179@qq.com>

* add comment

Signed-off-by: qidi1 <1083369179@qq.com>

* change to magical num

Signed-off-by: qidi1 <1083369179@qq.com>

* add comment

Signed-off-by: qidi1 <1083369179@qq.com>

* change log levle

Signed-off-by: qidi1 <1083369179@qq.com>

* Fmt

---------

Signed-off-by: qidi1 <1083369179@qq.com>
Co-authored-by: shi yuhang <52435083+shiyuhang0@users.noreply.github.com>
2023-01-30 15:17:42 +08:00
shi yuhang d278e3ad19
[close #699] Rebase release 3.3.1.11 (#704)
Co-authored-by: iosmanthus <myosmanthustree@gmail.com>
Co-authored-by: Xiaoguang Sun <sunxiaoguang@users.noreply.github.com>
close https://github.com/tikv/client-java/issues/699
2022-12-30 17:22:04 +08:00
shi yuhang 3e02966ac1
[close #693] Add test for RangeSplitter (#694)
Signed-off-by: shiyuhang <1136742008@qq.com>
2022-12-29 15:22:24 +08:00
Ping Yu a459a6ed3a
[to #656] Fix scan with lock (#670) 2022-12-29 15:08:33 +08:00
shi yuhang 1f096b5a38
[close #684] Fix batch get blocked by write (#685)
Signed-off-by: shiyuhang <1136742008@qq.com>
2022-12-20 21:32:21 +08:00
shi yuhang 1554ae5fec
let column_case_insentive (#678)
Signed-off-by: shiyuhang <1136742008@qq.com>
2022-12-20 20:54:20 +08:00
shi yuhang 24ed9e2b8a
[close #663] Avoid overflow (#664)
Signed-off-by: shiyuhang <1136742008@qq.com>
2022-12-20 20:31:42 +08:00
Xiang Zhang 8936a91a98
Delete stale-checker.yml (#681)
Signed-off-by: zhangyangyu <angwerzx@126.com>
2022-12-20 17:12:10 +08:00
Ping Yu 870a9fb8bc
[close #666] Fix some issues in example and README (#667)
Signed-off-by: pingyu <yuping@pingcap.com>

Signed-off-by: pingyu <yuping@pingcap.com>
2022-12-02 11:57:10 +08:00
shi yuhang 8cb7a8294c
[close #663] Select TiFlash Stores Round-Robin (#662) 2022-11-01 15:55:18 +08:00
Ping Yu 7aa2d940a8
[close #657] add production-readiness document (#658)
Co-authored-by: Xiaoguang Sun <sunxiaoguang@users.noreply.github.com>
2022-10-11 15:21:10 +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
iosmanthus 2ae746d1b0
[close #626] remove nix-shell (#627) 2022-07-01 16:53:05 +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
iosmanthus 7e6af2984d
[close #610] [to #590] add docs for api v2 and tls reload (#611) 2022-06-15 15:31:53 +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 660199a2d2
[to #591] update all the branch of proto while precompiling to avoid commit miss (#598) 2022-04-24 14:34:57 +08:00
iosmanthus 7a123a07e2
[close #591] update all the branch of proto while precompiling to avoid commit miss (#592) 2022-04-22 07:36:40 +00:00
iosmanthus 09cb452c2e
[close #588] support tls reload (#589) 2022-04-19 12:14:07 +08:00
iosmanthus 7fa24c3206
[close #567] upgrade jackson-databind to 2.13.2.2 to fix CVE-2020-36518 (#584) 2022-04-07 18:11:24 +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 ef1678724f
[close #572] misc: fix syntax issues in github issue/pr templates (#573) 2022-03-28 01:41:49 +00: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
Liangliang Gu 7278d5aa1d
delete Netty Allocator on grafana (#553)
Signed-off-by: marsishandsome <marsishandsome@gmail.com>

Co-authored-by: Jian Zhang <zjsariel@gmail.com>
2022-03-24 07:08:21 +00: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