jpisaac commented on code in PR #2316:
URL: https://github.com/apache/phoenix/pull/2316#discussion_r2505912277
##########
phoenix-core-client/src/main/java/org/apache/phoenix/jdbc/HAGroupStoreClient.java:
##########
@@ -124,11 +124,15 @@ public static HAGroupStoreClient
getInstance(Configuration conf) {
case INITIALIZED:
latch.countDown();
break;
- case CONNECTION_LOST:
case CONNECTION_SUSPENDED:
+ LOGGER.warn("Received CONNECTION_SUSPENDED event, will wait
until either ZK connection is restored or session timeout occurs");
+ break;
+ case CONNECTION_LOST:
+ LOGGER.error("Received CONNECTION_LOST event, marking cache as
unhealthy");
isHealthy = false;
Review Comment:
And then the flow will be that - we will fail the writes and wait for the
region server to be aborted/restarted by the master.
Right!!
--
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]