mirror of
https://github.com/actiontech/dble.git
synced 2026-01-05 12:20:19 -06:00
fix use backend connection information
This commit is contained in:
@@ -215,7 +215,7 @@ public class RWSplitHandler implements ResponseHandler, LoadDataResponseHandler,
|
||||
synchronized (this) {
|
||||
if (!write2Client) {
|
||||
rwSplitService.getSession().bind(null);
|
||||
reason = "Connection {dbInstance[" + rwSplitService.getConnection().getHost() + ":" + rwSplitService.getConnection().getPort() + "],DbGroup[" +
|
||||
reason = "Connection {dbInstance[" + service.getConnection().getHost() + ":" + service.getConnection().getPort() + "],DbGroup[" +
|
||||
rwSplitService.getUserConfig().getDbGroup() + "],threadID[" +
|
||||
((MySQLResponseService) service).getConnection().getThreadId() + "]} was closed ,reason is [" + reason + "]";
|
||||
writeErrorMsg(rwSplitService.nextPacketId(), reason);
|
||||
|
||||
Reference in New Issue
Block a user