diff --git a/transaction-springcloud/src/main/java/com/codingapi/ribbon/loadbalancer/LcnLoadBalancerRule.java b/transaction-springcloud/src/main/java/com/codingapi/ribbon/loadbalancer/LcnLoadBalancerRule.java index 250e5983b..9396cc841 100644 --- a/transaction-springcloud/src/main/java/com/codingapi/ribbon/loadbalancer/LcnLoadBalancerRule.java +++ b/transaction-springcloud/src/main/java/com/codingapi/ribbon/loadbalancer/LcnLoadBalancerRule.java @@ -45,7 +45,7 @@ public Server proxy(List servers,Server server){ Server oldServer =getServer(txTransactionLocal,servers,key); if(oldServer != null){ logger.info("LCNBalanceProxy - > load old server "); - return server; + return oldServer; } putServer(key, txTransactionLocal, server);