mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
when starting recovery repoint dmaster to an invalid node and not the
current vnn (This used to be ctdb commit 3c2dcc7448b335cf42e8f7edffba21229dccbd79)
This commit is contained in:
parent
325f321409
commit
4370dc1e75
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user