sofastack / sofa-jraft

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

add judgement for SimpleForwardingServerCall in method ServerStreamHelper.getServerStream #1044

Closed AlchemyDing closed 10 months ago

AlchemyDing commented 10 months ago

Motivation:

ServerCall is usually enhanced to ForwardingServerCall.SimpleForwardingServerCall by skywalking-agent or opentelemetry-javaagent,etc.At this point, ServerCallImpl will become the delegate of SimpleForwardingServerCall

Modification:

Add judgement for SimpleForwardingServerCall in method ServerStreamHelper.getServerStream

Result:

resolve issue associate issue from nacos

sofastack-cla[bot] commented 10 months ago

Hi @AlchemyDing, 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.

AlchemyDing commented 10 months ago

@fengjiachun issue have completed in this pr

fengjiachun commented 10 months ago

The check_format failed, you can first run mvn clean compile (it will automatically format the code).

AlchemyDing commented 10 months ago

The check_format failed, you can first run mvn clean compile (it will automatically format the code).

@fengjiachun done, thank you