Keys get repeated in reduce output

When trying to query with multiple keys, the reduce output on grouping has keys repeated in the output. In the absence of filtering by keys this is not observed. Is there something I’m missing here? Also this behavior disappears with time. I’m playing around with a two node cluster, with one set as replica. Could that have something to do with this?


This shouldn’t have anything to do with Replicas.

Can you provide the sample code you’re using?