rmatharu commented on a change in pull request #903: SEP-19: Allocator changes 
for standby-aware container allocation, and active container failover
URL: https://github.com/apache/samza/pull/903#discussion_r260917921
 
 

 ##########
 File path: 
samza-core/src/main/java/org/apache/samza/clustermanager/SamzaApplicationState.java
 ##########
 @@ -141,6 +142,28 @@
    */
   public final AtomicInteger redundantNotifications = new AtomicInteger(0);
 
+  /**
+   * Number of container allocations that proceeded because they met standby 
container constraints.
+   */
+  public final AtomicInteger successfulStandbyAllocations = new 
AtomicInteger(0);
+
+  /**
+   * Number of container allocations that were dis-allowed because they
+   * did not meet standby container constraints.
+   */
+  public final AtomicInteger failedStandbyAllocations = new AtomicInteger(0);
+
+  /**
+   * Number of active container standbyContainerState initiated in which a 
standby container was found.
 
 Review comment:
   Added docs to explain the difference. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to