You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by "desaikomal (via GitHub)" <gi...@apache.org> on 2023/08/14 14:57:12 UTC
[GitHub] [helix] desaikomal commented on a diff in pull request #2591: [apache/helix] -- Adjusted the missingTopStatePartitionsBeyondThresholdGuage when top-state Instance recovers
desaikomal commented on code in PR #2591:
URL: https://github.com/apache/helix/pull/2591#discussion_r1293586943
##########
helix-core/src/main/java/org/apache/helix/controller/stages/TopStateHandoffReportStage.java:
##########
@@ -491,6 +491,12 @@ private void reportTopStateComesBack(ResourceControllerDataProvider cache, Map<S
true);
}
}
+
+ // In case of recovery after failure, we should decrement the missingTopStateBeyondThresholdGauge value.
+ if (clusterStatusMonitor != null && record.isFailed()) {
Review Comment:
First and foremost, congratulations on your first change.
Q: why do we decrement only for recovery after failure scenario and not in-general recovery?
Q: why don't i see change for 1min related reset window?
--
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: reviews-unsubscribe@helix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org