]> git.ozlabs.org Git - ccan/commitdiff
tdb2: tdb1: use same expansion factor logic when expanding for new recovery area.
authorRusty Russell <rusty@rustcorp.com.au>
Sat, 28 Jan 2012 04:14:43 +0000 (14:44 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sat, 28 Jan 2012 04:14:43 +0000 (14:44 +1030)
If we're expanding because the current recovery area is too small, we
expand only the amount we need.  This can quickly lead to exponential
growth when we have a slowly-expanding record (hence a
slowly-expanding transaction size).

(Syncs with tdb1 SAMBA patch 3a2a755e3380a8f81374009d463cd06161352507)


No differences found