[PATCH]: Inconsistent recmaster during election.

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jan 6 07:14:16 UTC 2016

On Wed, Jan 06, 2016 at 02:42:48PM +1100, Martin Schwenke wrote:
> It looks like you've found the problem.  Thanks!  That is, it looks
> like:
>  smbcontrol winbindd ip-dropped <ip>
> hangs until the node is no longer in recovery mode, so shutdown is
> delayed, which causes problems.

That might be due to the registry being blocked. smbcontrol should
be very simple and nonblocking, but it needs some info from smb.conf
unfortunately. So maybe it's time to implement reading from the registry
without messing with ctdb. The only problem there is -- we can't
guarantee we see the latest copy of the registry without asking the
cluster. However, smbcontrol mainly needs the location of the datagram
sockets (or the messages.tdb for pre-4.2), and this information should
be current without cluster currency.


SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de

More information about the samba-technical mailing list