[jboss-user] [JBoss Cache: Core Edition] - Re: MVCC Write Skew
manik.surtani@jboss.com
do-not-reply at jboss.com
Mon Apr 6 05:45:53 EDT 2009
Yes, since what is an increment to you (i++) is actually a set to the cache (e.g., set i = blah) where blah has been pre-calculated based on an old value read. So even if you have R_C, even though your tx is re-reading the field at the time of setting, your application is not.
Basically, with R_C, the 2 TXs would be doing this:
i = 10
tx1: set i to 11
tx2: set i to 11 (even though i already is 11)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223594#4223594
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223594
More information about the jboss-user
mailing list