提交 d7645040 authored 作者: Thomas Mueller's avatar Thomas Mueller

Cluster: auto-commit was disabled after opening a connection.

Connection.getAutoCommit() is now much faster, specially when using the server mode.
上级 4c5c5ec8
...@@ -230,7 +230,7 @@ public class FileLock implements Runnable { ...@@ -230,7 +230,7 @@ public class FileLock implements Runnable {
transfer.setSocket(socket); transfer.setSocket(socket);
transfer.init(); transfer.init();
transfer.writeInt(Constants.TCP_PROTOCOL_VERSION_6); transfer.writeInt(Constants.TCP_PROTOCOL_VERSION_6);
transfer.writeInt(Constants.TCP_PROTOCOL_VERSION_7); transfer.writeInt(Constants.TCP_PROTOCOL_VERSION_8);
transfer.writeString(null); transfer.writeString(null);
transfer.writeString(null); transfer.writeString(null);
transfer.writeString(id); transfer.writeString(id);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论