From ad13e21874f7333977f7acdc8a46303c40787d2b Mon Sep 17 00:00:00 2001 From: Eugene R Date: Mon, 1 Jul 2024 10:10:31 +0300 Subject: [PATCH] FMWK-484 Add node activity filter to monitor method (#23) --- .../com/aerospike/client/reactor/AerospikeReactorClient.java | 1 + 1 file changed, 1 insertion(+) diff --git a/reactor-client/src/main/java/com/aerospike/client/reactor/AerospikeReactorClient.java b/reactor-client/src/main/java/com/aerospike/client/reactor/AerospikeReactorClient.java index 420d293..ccb990e 100644 --- a/reactor-client/src/main/java/com/aerospike/client/reactor/AerospikeReactorClient.java +++ b/reactor-client/src/main/java/com/aerospike/client/reactor/AerospikeReactorClient.java @@ -418,6 +418,7 @@ private Mono dropIndexImpl(Policy policy, private Mono waitTillComplete(Mono 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()