r24773: Fix a ctdb connection lockup
authorVolker Lendecke <vlendec@samba.org>
Wed, 29 Aug 2007 11:46:44 +0000 (11:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:20 +0000 (12:30 -0500)
commita116d7c7d9ddaf6bc6798ed98b3c62369e924076
treefe07cc0c45fe35011069abab80ec06b0cdeefeaa
parenta0a32cf5d520937f492d32c743011741522f2d40
r24773: Fix a ctdb connection lockup

The lockup could happen when packet_read_sync() gets two packets in a row, the
first one being an async message, and the second one being the response to a
ctdb request.

Also add some debug msg to ctdb_conn.c, and cut off the "locking key" messages
to only dump 20 hex chars at debug level 10. >10 will dump everything.
(This used to be commit 0a55880a240b619810371a19144dd0a75208adfe)
source3/lib/ctdbd_conn.c
source3/lib/dbwrap_ctdb.c
source3/lib/dbwrap_tdb.c