How to use getFromReplica() with bulk gets


#1

For example, I do a bulk get like this:

get([4,23,78]);

If document 78 is on a failed over node, I need to call getFromReplica(78). Is the only solution to check all received documents and call getFromReplica()? This seems like a bit of a hack solution. I’d like to see a single call that will try all documents from the primary vBucket first, then get some from the replica if necessary.


#2

You can open ticket with feature request on our issue tracker here: https://www.couchbase.com/issues/browse/PCBC