5 minutes is too long to leave the cluster in limbo if the recovery
daemon dies during a takeover run, even though this is quite unlikely.
We need a new recover master to be able to do takeover runs fairly
quickly.
This reverts commit
71080676bb4acbd0d9b595a30cf7fe6dddbf426f.
nodes = list_of_connected_nodes(rec->ctdb, nodemap, rec, false);
- /* Disable for 5 minutes. This can be a tunable later if
+ /* Disable for 60 seconds. This can be a tunable later if
* necessary.
*/
- dtr.data = 300;
+ dtr.data = 60;
for (i = 0; i < talloc_array_length(nodes); i++) {
if (ctdb_client_send_message(rec->ctdb, nodes[i],
CTDB_SRVID_DISABLE_TAKEOVER_RUNS,