1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

the invalid dmaster is no longer needed in recovery

(This used to be ctdb commit bd638ea63d11485bc3a8c50d923262a48095c2f3)
This commit is contained in:
Andrew Tridgell 2007-05-12 19:56:31 +10:00
parent 68fc85d162
commit 7f570322c3

View File

@ -392,18 +392,6 @@ 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, 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) {