Skip to content

Commit

Permalink
FMWK-484 Add node activity filter to monitor method (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn authored Jul 1, 2024
1 parent b2452ba commit ad13e21
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@ private Mono<AsyncIndexTask> dropIndexImpl(Policy policy,
private Mono<Void> waitTillComplete(Mono<AsyncIndexTask> asyncIndexTaskMono, InfoPolicy infoPolicy){
return asyncIndexTaskMono.flatMapMany(indexTask ->
Flux.fromArray(aerospikeClient.getNodes())
.filter(Node::isActive)
.flatMap(node -> queryIndexStatus(infoPolicy, indexTask, node)
.delayElement(Duration.ofMillis(1000))
.repeat()
Expand Down

0 comments on commit ad13e21

Please sign in to comment.