diff options
Diffstat (limited to 'ctdb/server/ctdb_control.c')
-rw-r--r-- | ctdb/server/ctdb_control.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_control.c b/ctdb/server/ctdb_control.c index 9d835e8d59..7bd1d0d7fb 100644 --- a/ctdb/server/ctdb_control.c +++ b/ctdb/server/ctdb_control.c @@ -531,7 +531,8 @@ static int32_t ctdb_control_dispatch(struct ctdb_context *ctdb, * master updates all nodes on each recovery - we * don't need the extra memory allocation or log * message each time. */ - if (strcmp(discard_const(indata.dptr), + if (ctdb->recovery_lock_file != NULL && + strcmp(discard_const(indata.dptr), ctdb->recovery_lock_file) == 0) { return 0; } |