A more flexible solution would be to backport the patch to add a
timeout argument to ctdb_cmdline_client() but that breaks to many
things for this branch.
Signed-off-by: Martin Schwenke <martin@meltin.net>
}
/* get our pnn */
- ctdb->pnn = ctdb_ctrl_getpnn(ctdb, timeval_current_ofs(3, 0), CTDB_CURRENT_NODE);
+ ctdb->pnn = ctdb_ctrl_getpnn(ctdb, timeval_current_ofs(10, 0), CTDB_CURRENT_NODE);
if (ctdb->pnn == (uint32_t)-1) {
DEBUG(DEBUG_CRIT,(__location__ " Failed to get ctdb pnn\n"));
talloc_free(ctdb);