In control_ipreallocate() we wait at most 5 tries before aborting the command
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 20 May 2010 02:35:57 +0000 (12:35 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 20 May 2010 02:35:57 +0000 (12:35 +1000)
commit8e9fd36e4619b7cc7bb6f7f7416d13e4c00a296a
tree2526d1f12e1c74dcabbbd590bbe5c37fc938c44a
parent66e05500b6e5c8fa5efbcba4447e488dd4232897
In control_ipreallocate() we wait at most 5 tries before aborting the command
and returning an error.
This might not be sufficient if there are several recoveries in a row.

Instead loop as long as it takes for the recovery master to finish the recoveries and re
spond to the ipreallocate call.

Increase the log level of the error message when the recovery master was busy and could
not perform the ipreallocation promptly

BZ61783
tools/ctdb.c