disable VerifyRecoveryLock when the user modifies the filename
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 25 Jun 2009 04:34:21 +0000 (14:34 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 25 Jun 2009 04:34:21 +0000 (14:34 +1000)
server/ctdb_control.c

index e5dc37aa472305395f695e0117593c4722a45b7e..4b2498f8793526b15b98a6c5f73a76a90bee8cf0 100644 (file)
@@ -453,6 +453,7 @@ static int32_t ctdb_control_dispatch(struct ctdb_context *ctdb,
                }
                return 0;
        case CTDB_CONTROL_SET_RECLOCK_FILE:
+               ctdb->tunable.verify_recovery_lock = 0;
                if (ctdb->recovery_lock_file != NULL) {
                        talloc_free(ctdb->recovery_lock_file);
                        ctdb->recovery_lock_file = NULL;