sofastack / sofa-jraft

A production-grade java implementation of RAFT consensus algorithm.
https://www.sofastack.tech/projects/sofa-jraft/
Apache License 2.0
3.52k stars 1.12k forks source link

feat: 升级grpc扩展中grpc版本到1.62.2 #1084

Closed zxuanhong closed 4 months ago

zxuanhong commented 4 months ago
  1. 升级grpc版本到1.62.2
  2. 添加grpc util包(原grpc core util抽离为单独的依赖了)

Motivation:

  1. 目前jraft对jdk高版本支持还有问题,主要出现在rpc模块。jdk21下操作CliService会导致Connection is null when do check!。
  2. 经测试发现使用grpc能很好解决这个问题。但仓库使用grpc版本太低,进行升级到最新版

Modification:

高版本grpc core util相关代码已经完全抽离出去了,对grpc依赖进行升级,同时引入缺少的grpc util包

Result:

Fixes #.

If there is no issue then describe the changes introduced by this PR.

sofastack-cla[bot] commented 4 months ago

Hi @zxuanhong, welcome to SOFAStack community, Please sign Contributor License Agreement!

After you signed CLA, we will automatically sync the status of this pull request in 3 minutes.

fengjiachun commented 4 months ago

@zxuanhong Hi, CLA 需要签一下

zxuanhong commented 4 months ago

@fengjiachun 抱歉点击后没注意失败了。已经再次处理

fengjiachun commented 4 months ago

@zxuanhong Thanks