[PATCH] ctdb-banning: Do not set recovery mode to ACTIVE in daemon

Martin Schwenke martin at meltin.net
Fri Oct 30 06:28:57 UTC 2015


On Fri, 30 Oct 2015 17:18:58 +1100, Amitay Isaacs <amitay at gmail.com>
wrote:

> Here is regression fix.
> 
> The recent changes to the banning code avoid explicit freeze of databases
> in the daemon.  CTDB relies on the recovery daemon to notice the node is
> banned to start freezing databases.  However, recovery daemon checks for
> recovery mode NORMAL to start freezing databases.  Since the recovery mode
> is set to ACTIVE in daemon, recovery daemon assumes that the database
> freeze is already started and does nothing.  Thus the databases do not get
> frozen if the node is banned.
> 
> Please review and push.

Reviewed-by: Martin Schwenke <martin at meltin.net>

Pushed to autobuild...

peace & happiness,
martin



More information about the samba-technical mailing list