Skip to content

Commit

Permalink
Merge branch 'trunk' into add-dom-mutation-support-java
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani authored Jul 25, 2024
2 parents 472d40e + 139af72 commit 0a5d01a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,9 @@ protected Set<NodeStatus> getAvailableNodes() {
readLock.lock();
try {
return model.getSnapshot().stream()
.filter(node -> !DOWN.equals(node.getAvailability()))
.filter(
node ->
!DOWN.equals(node.getAvailability()) && !DRAINING.equals(node.getAvailability()))
.collect(toImmutableSet());
} finally {
readLock.unlock();
Expand Down

0 comments on commit 0a5d01a

Please sign in to comment.