Red Hat Bugzilla – Bug 308581
cman does not adjust expected_votes when a new node joins
Last modified: 2009-12-22 17:06:03 EST
Description of problem:
If I use "cman_tool expected_votes" to lower the expected votes count of a
cluster, then adding a new node should raise it back to the original value in
CCS. This does not happen
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start 2 nodes of a 6 node cluster, This cluster will be inquorate
2. cman_tool expected -e1, to make it quorate
3. Join a new node
The new node has expected_votes set to 6 and goes inquorate.
The remaining nodes do NOT get the new value are are quorate.
All nodes should do inquorate as a result of the new expected_votes value.
Created attachment 207971 [details]
Patch to fix
This is pretty nasty, if we can get this into 5.1 I think we should.
Fixed on RHEL5 branch:
Checking in commands.c;
/cvs/cluster/cluster/cman/daemon/commands.c,v <-- commands.c
new revision: 188.8.131.52; previous revision: 184.108.40.206
Missed 5.1, so I'll set it to MODIFIED as it will be in 5.2
This was definitely fixed in 5.4; I did not check earlier releases.