GetZeroFollower returns the locator of any Zero that is not the leader, as reported by the Zero at queryIdx.
(queryIdx int)
| 87 | // GetZeroFollower returns the locator of any Zero that is not the leader, as |
| 88 | // reported by the Zero at queryIdx. |
| 89 | func (c *LocalCluster) GetZeroFollower(queryIdx int) (*ZeroLocator, error) { |
| 90 | return c.findZero(queryIdx, false) |
| 91 | } |
| 92 | |
| 93 | // GetZeroFollowers returns the locators of all non-leader Zeros, as reported |
| 94 | // by the Zero at queryIdx. |