ctdb: hold transaction locks during freeze, mark during recover.
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 18 Jan 2011 02:33:24 +0000 (13:33 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 18 Jan 2011 03:07:44 +0000 (14:07 +1100)
commit52ee2b3ce822344d0f55ac040fe25f6ec5c0d7c2
tree1d2e55282a9d98cfab01aa17c28fef8ddf5e8359
parentd09fa845bd848d04507853809acf42e0471b44bf
ctdb: hold transaction locks during freeze, mark during recover.

Make the ctdb parent "mark" the transaction lock once the child process
has frozen/locked the entire database.
This stops the ctdb daemon from using  a blocking fcntl() locking on the tdb during the
read traverse during recovery.

CQ 1021388
server/ctdb_recover.c