Re: [Prevayler-discussion] Food Tasting, Memory and Rolling Back Transactions.
Brought to you by:
jsampson,
klauswuestefeld
From: Justin T. S. <ju...@kr...> - 2009-07-27 22:18:17
|
On Mon, Jul 27, 2009 at 1:26 PM, Ross Rick<ri...@le...> wrote: > So yes, I am ok with keeping the model safe from deterministic > errors. My concern is an error beyond my control after the model has > been modified in the transaction. As I understand it Prevayler will > not set the model back to the state it was in before the transaction > started. I can't imagine how it could. And now reading this I > understand that this is independent of food tasting. Of course, the > transaction will not be serialized to disk so I can reload the model > to the correct state. Since we are in an exception state I would be > unlikely to be able to reverse the changes made to the model anyway, > so a reload is really required in all cases. The transaction *is* serialized to disk. Transactions are written to the journal before being executed. Cheers, Justin |