r24773: Fix a ctdb connection lockup
commit0a55880a240b619810371a19144dd0a75208adfe
authorVolker Lendecke <vlendec@samba.org>
Wed, 29 Aug 2007 11:46:44 +0000 (29 11:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:20 +0000 (10 12:30 -0500)
treed308be8b2775a97c13139784d120184e6ce36a17
parentdd6d44c1665121cff9ccc2c09580169ca4d330b9
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.
source/lib/ctdbd_conn.c
source/lib/dbwrap_ctdb.c
source/lib/dbwrap_tdb.c