------------------------------------------------------------
revno: 291
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Andrew Tridgell <[EMAIL PROTECTED]>
branch nick: tridge
timestamp: Sat 2007-05-12 19:56:31 +1000
message:
  the invalid dmaster is no longer needed in recovery
modified:
  direct/ctdb_recoverd.c         recoverd.c-20070503213540-bvxuyd9jm1f7ig90-1
=== modified file 'direct/ctdb_recoverd.c'
--- a/direct/ctdb_recoverd.c    2007-05-12 05:59:49 +0000
+++ b/direct/ctdb_recoverd.c    2007-05-12 09:56:31 +0000
@@ -392,18 +392,6 @@
        }
 
 
-
-       /* 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, 0xffffffff, dbmap, 
mem_ctx);
-       if (ret != 0) {
-               DEBUG(0, (__location__ " Unable to update dmaster on all 
databases\n"));
-               return -1;
-       }
-
-
-
        /* pull all remote databases onto the local node */
        ret = pull_all_remote_databases(ctdb, nodemap, vnn, dbmap, mem_ctx);
        if (ret != 0) {

Reply via email to