Displaying 1 result from an estimated 1 matches for "ctdb_ban_nod".
Did you mean:
ctdb_ban_node
2012 May 24
0
Is it possible to use quorum for CTDB to prevent split-brain and removing lockfile in the cluster file system
...nodes[i].flags & NODE_FLAGS_DISCONNECTED)) {
rec->num_connected++;
}
}
+ if (rec->num_connected < ((nodemap->num)/2+1)){
+ DEBUG(DEBUG_ERR, ("Node %u in the group without quorum\n",
pnn));
+ ctdb_ban_node(rec, pnn, ctdb->tunable.recovery_ban_period);
+ }
This modification seems to provide a split-brain prevention without
lockfile in my tests(more than 3 nodes).
Does this modification cause any side-effect or is that a stupid design?
Please kindly answer me and I appreciate to receive new...