PawasChhokra commented on a change in pull request #1446:
URL: https://github.com/apache/samza/pull/1446#discussion_r546192683



##########
File path: 
samza-core/src/main/java/org/apache/samza/clustermanager/StandbyContainerManager.java
##########
@@ -409,16 +470,18 @@ public void 
checkStandbyConstraintsAndRunStreamProcessor(SamzaResourceRequest re
       log.info("Running container {} on {} meets standby constraints, 
preferredHost = {}", containerID,
           samzaResource.getHost(), preferredHost);
       containerAllocator.runStreamProcessor(request, preferredHost);
+      
samzaApplicationState.faultDomainAwareContainersStarted.incrementAndGet();

Review comment:
       I've added a check that will ensure that this metric is updated only 
when that config is on.




----------------------------------------------------------------
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]


Reply via email to