Cycle to next server on failure in meta client
parent
1e63fa4e2c
commit
e9e63b573b
|
@ -447,6 +447,7 @@ func (c *Client) retryUntilExec(typ internal.Command_Type, desc *proto.Extension
|
||||||
|
|
||||||
index, err = c.exec(url, typ, desc, value)
|
index, err = c.exec(url, typ, desc, value)
|
||||||
tries++
|
tries++
|
||||||
|
currentServer++
|
||||||
|
|
||||||
if err == nil {
|
if err == nil {
|
||||||
c.waitForIndex(index)
|
c.waitForIndex(index)
|
||||||
|
|
Loading…
Reference in New Issue