]> git.ozlabs.org Git - ccan/commitdiff
tdb2: hash chaining
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 1 Dec 2010 13:13:37 +0000 (23:43 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 1 Dec 2010 13:13:37 +0000 (23:43 +1030)
If we get enough hash collisions, we can run out of hash bits; this almost
certainly is caused by a deliberate attempt to break the tdb (hash bombing).

Implement chained records for this case; they're slow but will keep the
rest of the database functioning.


No differences found