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 02:33:24 +0000 (13:33 +1100)
commit3bdb29692460693dfd0f5ffeea0a28eb3eb419fb
treea9ccc05d4e87601b80fc956f8c4b3e96134df688
parent80f0aa9efee9990f4a2c375907548cbd444c7b38
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