automatically re-activate the reclock file check if we set the reclock file to something
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 25 Oct 2009 23:13:20 +0000 (10:13 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 25 Oct 2009 23:13:20 +0000 (10:13 +1100)
(This used to be ctdb commit db250cad7c92c1cc0a690725a4e39531a2e1b7fd)

ctdb/server/ctdb_control.c

index 904bebe8ff9516382d6793b4e4cf332b4a8b52eb..7e84078cfa48ce65f289d88cba9763ef12d90a6b 100644 (file)
@@ -469,6 +469,7 @@ static int32_t ctdb_control_dispatch(struct ctdb_context *ctdb,
                }
                if (indata.dsize > 0) {
                        ctdb->recovery_lock_file = talloc_strdup(ctdb, discard_const(indata.dptr));
+                       ctdb->tunable.verify_recovery_lock = 1;
                }
                return 0;