mirror of
https://github.com/samba-team/samba.git
synced 2025-03-23 06:50:21 +03:00
actually check the remote nodes and not just the local node
(This used to be ctdb commit 09df21be6361743d320fafc120718211eece85c3)
This commit is contained in:
parent
cbb6f99f41
commit
639e4374e5
@ -661,7 +661,7 @@ again:
|
||||
continue;
|
||||
}
|
||||
|
||||
ret = ctdb_ctrl_getrecmaster(ctdb, timeval_current_ofs(1, 0), vnn, &recmaster);
|
||||
ret = ctdb_ctrl_getrecmaster(ctdb, timeval_current_ofs(1, 0), nodemap->nodes[j].vnn, &recmaster);
|
||||
if (ret != 0) {
|
||||
DEBUG(0, (__location__ "Unable to get recmaster from node %u\n", vnn));
|
||||
goto again;
|
||||
@ -683,7 +683,7 @@ again:
|
||||
continue;
|
||||
}
|
||||
|
||||
ret = ctdb_ctrl_getrecmode(ctdb, timeval_current_ofs(1, 0), vnn, &recmode);
|
||||
ret = ctdb_ctrl_getrecmode(ctdb, timeval_current_ofs(1, 0), nodemap->nodes[j].vnn, &recmode);
|
||||
if (ret != 0) {
|
||||
DEBUG(0, ("Unable to get recmode from node %u\n", vnn));
|
||||
goto again;
|
||||
|
Loading…
x
Reference in New Issue
Block a user