Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Commit

Permalink
change PException
Browse files Browse the repository at this point in the history
  • Loading branch information
foreverneverer committed Oct 17, 2019
1 parent 7c5a755 commit 2682979
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,7 @@ private void handleReplicaException(
gpid gPid = op.get_gpid();
ReplicaConfiguration replicaConfiguration =
((TableHandler) table).getReplicaConfig(gPid.get_pidx());
String replicaServer = null;
String replicaServer;
try {
replicaServer =
replicaConfiguration.primary.get_ip() + ":" + replicaConfiguration.primary.get_port();
Expand All @@ -1666,13 +1666,13 @@ private void handleReplicaException(
+ op.name()
+ ",replicaServer="
+ replicaServer
+ ",gPid=("
+ ",gpid=("
+ gPid.toString()
+ ")"
+ "]";
switch (op.rpc_error.errno) {
case ERR_SESSION_RESET:
message = " The replica can't be access, please confirm the address!";
message = " Disconnected from the replica-server due to internal error!";
break;
case ERR_TIMEOUT:
message = " The operationTimeout is " + timeout + "ms!";
Expand Down

0 comments on commit 2682979

Please sign in to comment.