LebronAl commented on a change in pull request #2222:
URL: https://github.com/apache/iotdb/pull/2222#discussion_r539794849
##########
File path: session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java
##########
@@ -75,6 +75,7 @@
private long timeout; //ms
private static int FINAL_RETRY = RETRY - 1;
private boolean enableCompression = false;
+ private boolean enableCacheLeader = false;
Review comment:
User can use `public Session(String host, int rpcPort, String username,
String password,
boolean isEnableCacheLeader)` interface to enable leader cache
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]