You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue.
Why do you submit this issue?
Question or discussion
Bug
Requirement
Feature or performance improvement
Question
What do you want to know?
Bug
Which version of SkyWalking, OS and JRE?
org.apache.skywalking.apm.agent.core.remote.GRPCChannelManager@Overridepublicvoidrun() {
logger.debug("Selected collector grpc service running, reconnect:{}.", reconnect);
if (reconnect) {
if (grpcServers.size() > 0) {
Stringserver = "";
try {
intindex = Math.abs(random.nextInt()) % grpcServers.size();
if (index != selectedIdx) {
selectedIdx = index;
only one grpcServer so grpcServers.size() = 1
First reconnection set selectedIdx = 1 if connection fail ;
The second reconnection if 1 !=1 (code if (index != selectedIdx)) never to reconnection
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue.
Question
Bug
only one grpcServer so grpcServers.size() = 1
First reconnection set selectedIdx = 1 if connection fail ;
The second reconnection if 1 !=1 (code if (index != selectedIdx)) never to reconnection
The text was updated successfully, but these errors were encountered: