HoustonPutman commented on code in PR #760:
URL: https://github.com/apache/solr/pull/760#discussion_r1811495054
##########
solr/test-framework/src/java/org/apache/solr/cloud/MiniSolrCloudCluster.java:
##########
@@ -791,7 +792,14 @@ public void expireZkSession(JettySolrRunner jetty) {
CoreContainer cores = jetty.getCoreContainer();
if (cores != null) {
ChaosMonkey.causeConnectionLoss(jetty);
-
zkServer.expire(cores.getZkController().getZkClient().getZooKeeper().getSessionId());
+ SolrZkClient zkClient = cores.getZkController().getZkClient();
+ long sessionId = zkClient.getZkSessionId();
+ zkServer.expire(sessionId);
+ try {
+
KillSession.kill(zkClient.getCuratorFramework().getZookeeperClient().getZooKeeper());
Review Comment:
I thought this was the convenience method? It's been a while, so I could be
wrong too.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]