diff options
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index d366c5071d..870cbd7a71 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -357,7 +357,7 @@ struct ctdb_db_context { #define CTDB_MONITORING_TIMEOUT 2 /* number of monitoring timeouts before a node is considered dead */ -#define CTDB_MONITORING_DEAD_COUNT 2 +#define CTDB_MONITORING_DEAD_COUNT 3 /* number of consecutive calls from the same node before we give them @@ -970,5 +970,7 @@ void ctdb_release_all_ips(struct ctdb_context *ctdb); void set_nonblocking(int fd); void set_close_on_exec(int fd); +bool ctdb_lock_node_list(struct ctdb_context *ctdb, bool keep); + #endif |
