diff --git a/src/replication/replicator/replicator-queue.c b/src/replication/replicator/replicator-queue.c index 31f296af68..adc3cc9305 100644 --- a/src/replication/replicator/replicator-queue.c +++ b/src/replication/replicator/replicator-queue.c @@ -333,6 +333,7 @@ replicator_queue_handle_sync_lookups(struct replicator_queue *queue, } else { array_push_back(&callbacks, &lookups[i]); array_delete(&queue->sync_lookups, i, 1); + count--; } }