[jboss-user] [JBoss Cache: Core Edition] - Re: is it possible for MVCCInvocationContext to have null mv
manik.surtani@jboss.com
do-not-reply at jboss.com
Tue Mar 17 11:27:10 EDT 2009
"bstansberry at jboss.com" wrote :
| Manik, why is the removeNode call not removing the node? Is the MVCC code detecting that the node didn't exist when the get() call happened and therefore turning the removeNode into a no-op?
|
Yes. This is consistent with R_R semantics in that you only modify data that you read. Now if write skew detection was enabled (by setting writeSkewCheck to true) this case would throw a DataVersioningException.
See [1] for details on write skews. And contrary to what the docs say, writeSkewCheck is false by default.
[1] http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.0.3.GA/userguide_en/html/transactions.html#transactions.locks.mvcc (See section on write skews)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218705#4218705
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218705
More information about the jboss-user
mailing list