[PATCHES] ctdb reloadnodes improvements (part 2)

Amitay Isaacs amitay at gmail.com
Mon Apr 6 23:45:03 MDT 2015


On Thu, Apr 2, 2015 at 4:45 PM, Martin Schwenke <martin at meltin.net> wrote:

> This is a second round of improvements to "ctdb reloadnodes":
>
> * Fix a bug in the previous patch set to avoid spurious warnings about
>   deleted nodes being disconnected.  This is ironic because the
>   previous patch set was meant to address this.  This time around I've
>   included a test for this case.
>
> * Fix a bug in the flag pushing code.  We found this while playing
>   around with inconsistent DELETED flags between nodes, so it might as
>   well be pushed here.
>
> * Disable recoveries and flag sanity checks while reloading nodes.
>
>   There's a bunch of factorisation to support this.
>
>   reloadnodes is now immediate and no longer causes a recovery.
>
> * Factor out some related code for use in test stubs, instead of
>   copying it there.
>
>   The factorisation was in a previous version of the previous patch set
>   - no use losing it.
>
> These patches are in my ctdb-reloadnodes branch:
>
>
> https://git.samba.org/?p=martins/samba.git;a=shortlog;h=refs/heads/ctdb-reloadnodes
>
>   git://git.samba.org/martins/samba.git (ctdb-reloadnodes branch)
>
> Review and push appreciated.  Thanks!
>
> peace & happiness,
> martin
>

Pushed to autobuild.

Amitay.


More information about the samba-technical mailing list