提交 dfd877e2 authored 作者: Noel Grandin's avatar Noel Grandin

When in cluster mode, and one of the nodes goes down, we need to log the

problem with priority "error", not "debug"
上级 555af2d5
...@@ -28,6 +28,8 @@ Change Log ...@@ -28,6 +28,8 @@ Change Log
</li><li>MS SQL Server: the CONVERT method did not work in views </li><li>MS SQL Server: the CONVERT method did not work in views
and derrived tables. and derrived tables.
</li><li>Java 8 compatibility for "regexp_replace". </li><li>Java 8 compatibility for "regexp_replace".
</li><li>When in cluster mode, and one of the nodes goes down,
we need to log the problem with priority "error", not "debug"
</li></ul> </li></ul>
<h2>Version 1.4.187 Beta (2015-04-10)</h2> <h2>Version 1.4.187 Beta (2015-04-10)</h2>
......
...@@ -477,7 +477,7 @@ public class SessionRemote extends SessionWithState implements DataHandler { ...@@ -477,7 +477,7 @@ public class SessionRemote extends SessionWithState implements DataHandler {
* @param count the retry count index * @param count the retry count index
*/ */
public void removeServer(IOException e, int i, int count) { public void removeServer(IOException e, int i, int count) {
trace.debug(e, "removing server because of exception"); trace.error(e, "removing server because of exception");
transferList.remove(i); transferList.remove(i);
if (transferList.size() == 0 && autoReconnect(count)) { if (transferList.size() == 0 && autoReconnect(count)) {
return; return;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论