Get returns n (or more) instances which form the replicas for the given key. bufDescs, bufHosts and bufZones are slices to be overwritten for the return value to avoid memory allocation; can be nil, or created with ring.MakeBuffersForGet().
(key uint32, op Operation, bufDescs []InstanceDesc, bufHosts []string, bufZones map[string]int)
| 43 | // bufDescs, bufHosts and bufZones are slices to be overwritten for the return value |
| 44 | // to avoid memory allocation; can be nil, or created with ring.MakeBuffersForGet(). |
| 45 | Get(key uint32, op Operation, bufDescs []InstanceDesc, bufHosts []string, bufZones map[string]int) (ReplicationSet, error) |
| 46 | |
| 47 | // GetAllHealthy returns all healthy instances in the ring, for the given operation. |
| 48 | // This function doesn't check if the quorum is honored, so doesn't fail if the number |
no outgoing calls