[jboss-user] [JBoss Cache Users] - Re: how to lock a node for update?
chtimi2
do-not-reply at jboss.com
Tue Sep 22 09:53:11 EDT 2009
Have you trying using the pessimistic locking scheme?
Try adding the following to your replSync-service.xml:
<attribute name="NodeLockingScheme">PESSIMISTIC</attribute>
| <attribute name="SyncCommitPhase">true</attribute>
| <attribute name="SyncRollbackPhase">true</attribute>
| <attribute name="IsolationLevel">SERIALIZABLE</attribute>
It is the only way i have found to have "select for update" semantics (blocking reads), and it is deprecated.. See my post on a comparable topic: [url]http://www.jboss.org/index.html?
module=bb&op=viewtopic&p=4254357#4254357[/url]
I have no clue how to achieve the same thing with MVCC (or even if it is possible at all)
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256393#4256393
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256393
More information about the jboss-user
mailing list