]> git.ozlabs.org Git - ccan/commit
tdb: don't reduce file size on transaction recovery.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Feb 2010 12:33:36 +0000 (23:03 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Feb 2010 12:33:36 +0000 (23:03 +1030)
commit3497b4d49241cb9d05fcfe34091e060bac4cb4f6
tree73355ad502323ae3fc216aeefc012a1d346b3c63
parent8321967a3b0917b9b1ac4cbc3cda2ace881a886f
tdb: don't reduce file size on transaction recovery.

There's little point in ever shrinking the file, and it definitely breaks in the case where a process has died during a transaction commit and other processes have the tdb mapped.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tdb/transaction.c