Skip to content

Commit

Permalink
Add note about metrics changes in HDDS-11593
Browse files Browse the repository at this point in the history
  • Loading branch information
errose28 committed Oct 22, 2024
1 parent 8afb945 commit 25c6417
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ public void scanContainer(Container<?> c)
logUnhealthyScanResult(containerId, result, LOG);

// Only increment the number of unhealthy containers if the container was not already unhealthy.
// TODO HDDS-11593 (to be merged in to the feature branch from master): Scanner counters will start from zero
// at the beginning of each run, so this will need to be incremented for every unhealthy container seen
// regardless of its previous state.
if (controller.markContainerUnhealthy(containerId, result)) {
metrics.incNumUnHealthyContainers();
}
Expand Down

0 comments on commit 25c6417

Please sign in to comment.