You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by "rahulrane50 (via GitHub)" <gi...@apache.org> on 2023/08/22 23:38:36 UTC
[GitHub] [helix] rahulrane50 commented on a diff in pull request #2603: [apache/helix] -- fixes #2590 Removed resetting of the missingTopStatePartitionsBeyondThresholdGauge to avoid incorrect accounting.
rahulrane50 commented on code in PR #2603:
URL: https://github.com/apache/helix/pull/2603#discussion_r1302299990
##########
helix-core/src/main/java/org/apache/helix/monitoring/mbeans/ResourceMonitor.java:
##########
@@ -480,7 +480,6 @@ public long getRebalanceThrottledByErrorPartitionGauge() {
public void resetMaxTopStateHandoffGauge() {
if (_lastResetTime + DEFAULT_RESET_INTERVAL_MS <= System.currentTimeMillis()) {
_maxSinglePartitionTopStateHandoffDuration.updateValue(0L);
- _missingTopStatePartitionsBeyondThresholdGauge.updateValue(0L);
Review Comment:
Had a offline discussion. Let's check about what happens if cache gets dropped as a part of another pipeline (periodic rebalance etc) before we remove this reset part.
--
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