]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
when starting recovery repoint dmaster to an invalid node and not the
authorRonnie Sahlberg <sahlberg@ronnie>
Wed, 9 May 2007 23:46:10 +0000 (09:46 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Wed, 9 May 2007 23:46:10 +0000 (09:46 +1000)
current vnn

(This used to be ctdb commit 3c2dcc7448b335cf42e8f7edffba21229dccbd79)

ctdb/direct/ctdb_recoverd.c

index 84f406b94e0c3739a2473b9248392c324e33a9d2..00214d030d8a1beb7ac1254f8ca37539aaf6c6b7 100644 (file)
@@ -381,7 +381,7 @@ static int do_recovery(struct ctdb_context *ctdb, struct event_context *ev,
        /* repoint all local and remote database records to an invalid
           node as being dmaster to stop the shortcut from working
         */
-       ret = update_dmaster_on_all_databases(ctdb, nodemap, vnn, dbmap, mem_ctx);
+       ret = update_dmaster_on_all_databases(ctdb, nodemap, 0xffffffff, dbmap, mem_ctx);
        if (ret != 0) {
                DEBUG(0, (__location__ "Unable to update dmaster on all databases\n"));
                return -1;