Locking database cleanup?
Jeremy Allison
jra at samba.org
Thu Apr 6 04:22:37 GMT 2006
On Thu, Apr 06, 2006 at 09:30:44AM +1000, tridge at samba.org wrote:
> Jeremy,
>
> > Because a process can't catch or stop sigkill the smbd might
> > be in the process of allocating new space within the tdb, which
> > if it is killed might leave the tdb in an inconsistent state
>
> Upgrading tdb in Samba3 to include the transaction code would fix
> this, at last for databases where we can afford the slowdown that the
> fsync() calls cause.
That's probably not the locking or open mode database though, which
is what was being complained about.
I think transactional tdb is an excellent idea for the account databases
though.
Jeremy.
More information about the samba-technical
mailing list