Author: prabhat.jha(a)jboss.com
Date: 2008-06-30 12:11:18 -0400 (Mon, 30 Jun 2008)
New Revision: 11214
Modified:
branches/JBoss_Portal_Branch_2_6/core/src/resources/portal-core-sar/META-INF/jboss-service.xml
Log:
JBPORTAL-2054 make pessimistic locking default
Modified:
branches/JBoss_Portal_Branch_2_6/core/src/resources/portal-core-sar/META-INF/jboss-service.xml
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core/src/resources/portal-core-sar/META-INF/jboss-service.xml 2008-06-30
16:05:27 UTC (rev 11213)
+++
branches/JBoss_Portal_Branch_2_6/core/src/resources/portal-core-sar/META-INF/jboss-service.xml 2008-06-30
16:11:18 UTC (rev 11214)
@@ -485,10 +485,34 @@
org.jboss.cache.JBossTransactionManagerLookup
</attribute>
- <attribute name="NodeLockingScheme">OPTIMISTIC</attribute>
+ <!--
+ Node locking scheme:
+ OPTIMISTIC
+ PESSIMISTIC (default)
+ -->
+ <!--<attribute
name="NodeLockingScheme">OPTIMISTIC</attribute>-->
+
+ <!--
+ Note that this attribute is IGNORED if your NodeLockingScheme above is
OPTIMISTIC.
+ Isolation level : SERIALIZABLE
+ REPEATABLE_READ (default)
+ READ_COMMITTED
+ READ_UNCOMMITTED
+ NONE
+ -->
<attribute name="IsolationLevel">REPEATABLE_READ</attribute>
- <attribute name="CacheMode">REPL_SYNC</attribute>
+ <!--
+ Valid modes are LOCAL
+ REPL_ASYNC
+ REPL_SYNC
+ INVALIDATION_ASYNC
+ INVALIDATION_SYNC
+ If you use REPL_SYNC and a UDP-based ClusterConfig
+ we recommend you comment out the FC (flow control)
+ protocol in the ClusterConfig section below.
+ -->
+ <attribute name="CacheMode">REPL_ASYNC</attribute>
<attribute name="ClusterName">
${portal.hibernate.cache.partition.name:portal.hibernate}
@@ -549,6 +573,8 @@
<pbcast.GMS print_local_addr="true" join_timeout="3000"
down_thread="false" up_thread="false"
join_retry_timeout="2000"
shun="true" view_bundling="true" />
+ <FC max_credits="2000000" down_thread="false"
up_thread="false"
+ min_threshold="0.10"/>
<FRAG2 frag_size="60000" down_thread="false"
up_thread="false" />
<pbcast.STATE_TRANSFER down_thread="false"
Show replies by date