Re: [Mavibot] Crash recovery system proposed algorithm

2013-03-13 Thread Emmanuel Lécharny
One small update, as I have made a mistake in my initial mail : Le 3/13/13 10:25 AM, Emmanuel Lécharny a écrit : > Another thing : the fact that BTree headers might span across two > pages is really annoying : we can have a crash after having updated > the first page but before updating the second

Re: [Mavibot] Crash recovery system proposed algorithm

2013-03-13 Thread Emmanuel Lécharny
Le 3/13/13 10:47 AM, Kiran Ayyagari a écrit : > On Wed, Mar 13, 2013 at 2:55 PM, Emmanuel Lécharny wrote: > >> Le 3/12/13 6:34 PM, Kiran Ayyagari a écrit : >>> On Tue, Mar 12, 2013 at 10:23 PM, Emmanuel Lécharny >> wrote: >>> >>> >>> 3) if the two revisions are different, that means we had a crash:

Re: [Mavibot] Crash recovery system proposed algorithm

2013-03-13 Thread Kiran Ayyagari
On Wed, Mar 13, 2013 at 2:55 PM, Emmanuel Lécharny wrote: > Le 3/12/13 6:34 PM, Kiran Ayyagari a écrit : > > On Tue, Mar 12, 2013 at 10:23 PM, Emmanuel Lécharny >wrote: > > > > > > 3) if the two revisions are different, that means we had a crash: we > >> will have to read all the pages, and disca

Re: [Mavibot] Crash recovery system proposed algorithm

2013-03-13 Thread Emmanuel Lécharny
Le 3/12/13 6:34 PM, Kiran Ayyagari a écrit : > On Tue, Mar 12, 2013 at 10:23 PM, Emmanuel Lécharny > wrote: > > > 3) if the two revisions are different, that means we had a crash: we >> will have to read all the pages, and discard the pending N+1 revision >> pages. >> >> I would suggest that we ke