Skip to content

Commit

Permalink
FMWK-484 Add node activity filter to monitor method
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn committed Jul 1, 2024
1 parent b2452ba commit f0f70db
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 f0f70db

Please sign in to comment.