]> git.ozlabs.org Git - ccan/commitdiff
tdb2: stricter ordering on expansion lock
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Nov 2010 01:43:59 +0000 (12:13 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Nov 2010 01:43:59 +0000 (12:13 +1030)
It's problematic for transaction commit to get the expansion lock, but
in fact we always grab a hash lock before the transaction lock, so it
doesn't really need it (the transaction locks the entire database).

Assert that this is true, and fix up a few lowlevel tests where it wasn't.


No differences found