[PATCH] ctdb-recoverd: Fix a bug in the LCP2 rebalancing code
martin at meltin.net
Wed Feb 12 01:33:21 MST 2014
srcimbl gets changed on every iteration of the loop. The value that
should be stored for the new imbalance of the source node is
To help diagnose this, added some extra debug that can be left in.
The extra debug changes the output of a couple of tests. Note that
the resulting IP allocations in those tests is unchanged - only the
debug output is changed.
Also add some new tests that illustrates the bug.
Signed-off-by: Martin Schwenke <martin at meltin.net>
Please review and push if OK.
I've added this to the other patches that are awaiting review in my
peace & happiness,
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 26966 bytes
Desc: not available
More information about the samba-technical