ctdb shortcut locking

simo idra at samba.org
Mon Apr 16 12:59:07 GMT 2007


On Mon, 2007-04-16 at 17:20 +1000, tridge at samba.org wrote:
> The risk with all this is that the client will die before it updates
> the header on the record, thus leaving the database with an inconsistent
> dmaster. We can handle that in the destructor for the client, by
> checking that the record header wasupdated for the last record it
> operated on. We only have to check at most 1 record per client
> (assuming clients are single threaded).

Does this cover the client segfaulting before an update?

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba-technical mailing list