Re: Food Tasting, Memory and Rolling Back Transactions.
Klaus Wuestefeld <[email protected]>
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <[email protected]> |
Hi Justin, These two things you wrote below seem sort of contradictory: > Conversely, if a transaction fails deterministically, it will always > fail, whether against the food taster, against the king, or later when > replayed from the journal. Therefore, eliminating the food taster does > not introduce any particular inconsistency ... > A rollback mechanism such as the food taster only helps you defend > against a very narrow class of bugs: *Deterministic* bugs that put the > system in an *inconsistent state* AND cause a RuntimeException to be > thrown from the *same* Transaction that introduced the inconsistent > state. See you, Klaus. ------------------------------------------------------------------------------ _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org