Locking database cleanup?
jra at samba.org
Wed Apr 5 14:41:02 GMT 2006
On Wed, Apr 05, 2006 at 10:35:25AM -0400, David Collier-Brown wrote:
> You wrote:
> That's not why we worry about sigkill (leaving dead records).
> 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
> (ie. anyone trying to read it might crash). It's nothing to
> do with dead records, we clean them us as we come across
> them as previously described.
> Is an inconsistant TDB what was happening to Alexey? From
> what you said it should either be recovering automaticaly
> or crashing all of Samba...
I don't know exactly what's happening to Alexey. I don't
recall if he mentioned the Samba version number. I'd need
to do futher investigation to look into it, but I wanted
to head off incorrect speculation about how things are
designed. We did think about error cases you know :-).
More information about the samba-technical