| 133 | // } |
| 134 | |
| 135 | int ch_ring_get_server(const char *const key, const ring_t *const ring) { |
| 136 | return (ring->vnodes + ch_ring_get_vnode_idx(key, ring))->server_id; |
| 137 | } |
| 138 | |
| 139 | int ch_ring_get_server_from_uint64(uint64_t obj_id, |
| 140 | const ring_t *const ring) { |
nothing calls this directly
no test coverage detected