Skip to content

Commit 4560b60

Browse files
authored
Merge pull request #31 from codingapi/tx-lcn-foxdd
bug修复,oldServer
2 parents 8be0f24 + a5aded1 commit 4560b60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

transaction-springcloud/src/main/java/com/codingapi/ribbon/loadbalancer/LcnLoadBalancerRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Server proxy(List<Server> servers,Server server){
4545
Server oldServer =getServer(txTransactionLocal,servers,key);
4646
if(oldServer != null){
4747
logger.info("LCNBalanceProxy - > load old server ");
48-
return server;
48+
return oldServer;
4949
}
5050

5151
putServer(key, txTransactionLocal, server);

0 commit comments

Comments
 (0)