return -1;
}
- nodes = list_of_connected_nodes(ctdb, rec->nodemap, mem_ctx, true);
+ nodes = list_of_connected_nodes(ctdb, rec->nodemap, mem_ctx, false);
state.remote_nodemaps = t;
state.rec = rec;
/* verify that all other nodes have the same nodemap as we have
*/
for (j=0; j<nodemap->num; j++) {
+ if (nodemap->nodes[j].pnn == ctdb->pnn) {
+ continue;
+ }
if (nodemap->nodes[j].flags & NODE_FLAGS_INACTIVE) {
continue;
}
* up-to-date information for all the nodes.
*/
for (j=0; j<nodemap->num; j++) {
+ if (nodemap->nodes[j].pnn == ctdb->pnn) {
+ continue;
+ }
if (nodemap->nodes[j].flags & NODE_FLAGS_INACTIVE) {
continue;
}
}
for (j=0; j<nodemap->num; j++) {
+ if (nodemap->nodes[j].pnn == ctdb->pnn) {
+ continue;
+ }
if (nodemap->nodes[j].flags & NODE_FLAGS_INACTIVE) {
continue;
}