[PATCH] ctdb-recoverd: Fix a bug in the LCP2 rebalancing code

Amitay Isaacs amitay at gmail.com
Wed Feb 12 16:32:34 MST 2014

On Wed, Feb 12, 2014 at 7:33 PM, Martin Schwenke <martin at meltin.net> wrote:

> srcimbl gets changed on every iteration of the loop.  The value that
> should be stored for the new imbalance of the source node is
> minsrcimbl.
> 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
> ctdb branch:
>   http://git.samba.org/?p=martins/samba.git;a=shortlog;h=refs/heads/ctdb
> peace & happiness,
> martin

Pushed to autobuild.


More information about the samba-technical mailing list