getAnyReplica

suspend fun getAnyReplica(id: String, common: CommonOptions = CommonOptions.Default): GetReplicaResult

Like get, but sends the request to all replicas in addition to the active. Returns the result from whichever server node responded quickest.

Throws

com.couchbase.client.core.error.DocumentUnretrievableException

if the document could not be retrieved from at least one location.