Rev 291: the invalid dmaster is no longer needed in recovery in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Sat May 12 09:56:32 GMT 2007


------------------------------------------------------------
revno: 291
revision-id: tridge at samba.org-20070512095631-mqryf40232ncs0k6
parent: tridge at samba.org-20070512095555-59wxjjrspw50l8s9
committer: Andrew Tridgell <tridge at samba.org>
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) {



More information about the samba-cvs mailing list