ctdb: when we fill the client packet queue we need to drop the client master
authorAndrew Tridgell <tridge@samba.org>
Thu, 4 Feb 2010 03:36:14 +0000 (14:36 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 4 Feb 2010 04:35:30 +0000 (15:35 +1100)
commit2e0deb561088c0b162e9c6e50a47c63fb831ee52
tree298c47cdb040ad9145a3a73fd05070d5434fb086
parentba656785f9685954bf84ff2ff6ec51cc59c91f54
ctdb: when we fill the client packet queue we need to drop the client

We can't just drop packets to the list, as those packets could be part
of the core protocol the client is using. This happens (for example)
when Samba is doing a traverse. If we drop a traverse packet then
Samba hangs indefinately. We are better off dropping the ctdb socket
to Samba.
server/ctdb_daemon.c