Re: ACIDity of Prevayler 2.6
Karl Wettin <[email protected]> Wed, 14 Nov 2012 18:10:01 +0100
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <[email protected]> |
Really?
public class Foo implements Transaction{
public void executeOn(Object root, Date time) {
root.setFoo("foo");
somethingThatGoesWrong();
root.setBar("bar");
}
}
To me atomicity (all or nothing) always meant that if something goes wrong within a transaction nothing is committed.
In this case setFoo is set, setBar is not.
karl
On Nov 14, 2012, at 4:20 PM, Justin T. Sampson wrote:
> Yes, Klaus is absolutely right. Prevayler's ACID properties had nothing to do with the food taster. Prevayler remains as ACID as ever.
>
> Atomicity: Transactions are applied all-or-nothing.
>
> Consistency: Transactions obey Java language semantics.
>
> Isolation: Transactions execute serially, so they can never see other transactions in progress.
>
> Durability: Transactions are journaled before execution.
>
> On Nov 14, 2012 6:10 AM, "Karl Wettin" <[email protected]> wrote:
> Since transaction filtering (atomicity) was removed I would have to say it's no longer correct to call Prevayler ACID-compliant.
>
> We should write something about this in the release notes of 2.6. Why people don't consider this to be a problem, perhaps include a bit of text about how failing transactions are stored to the journal and why that's a good idea.
>
> Anyone feel like summing that up in a paragraph or two?
>
>
> karl
>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________
> To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
> _______________________________________________
> "Databases in Memoriam" -- http://www.prevayler.org
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org