Bug 5105 -- patch?

Gerald (Jerry) Carter jerry at samba.org
Tue Dec 4 15:32:45 GMT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Volker Lendecke wrote:

> Facing a corrupt tdb with a cyclic freelist or a cyclic hash
> chain this patch turns the endless loop spinning those
> cycles into high CPU load.

Right.  That's what I thought.  Just with a loop counter on
the max freelist/hashchain size.

>> How likely is your comment, "...but it also might render some valid
>> tdb's as invalid."?
> 
> Well, how likely is a tdb with a million entries in a hash
> chain? With 131 chains as default this would be a tdb with
> more than 10 million entries before it gets likely to have
> such a long chain. Users will have seen a severe performance
> degradation long before that.

Sounds fine to me.  Thanks for the tdb lesson.




cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHVXMdIR7qMdg1EfYRAhsEAJ9DDa9MDfB9wrQsmvsPgqU22d/EnACfawpZ
o5t/kisVzzohhZwilF+CaNU=
=Qmln
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list