Skip to content

Commit

Permalink
do synchronous replication in the infinispan chained-cache scenario..…
Browse files Browse the repository at this point in the history
… we really care about the safety of the data (or it makes it easier to test that clustering is working)
  • Loading branch information
cbeer committed Apr 4, 2013
1 parent 1d08282 commit 9e1d071
Showing 1 changed file with 4 additions and 8 deletions.
Expand Up @@ -16,10 +16,8 @@
Defines the default behavior for all caches, including those created dynamically (e.g., when a
repository uses a cache that doesn't exist in this configuration).
-->
<clustering mode="distribution">
<clustering mode="replication">
<sync/>
<l1 enabled="false" lifespan="0" onRehash="false"/>
<hash numOwners="1"/>
<stateTransfer fetchInMemoryState="true"/>
</clustering>
</default>
Expand All @@ -30,11 +28,9 @@
use pessimistic locking, which is required whenever applications will be concurrently
updating nodes within the same process. If you're not sure, use pessimistic locking.
-->
<clustering mode="distribution">
<sync/>
<l1 enabled="false" lifespan="0" onRehash="false"/>
<hash numOwners="1"/>
<stateTransfer fetchInMemoryState="true"/>
<clustering mode="replication">
<sync/>
<stateTransfer fetchInMemoryState="true"/>
</clustering>

<eviction maxEntries="100" strategy="LRU" threadPolicy="DEFAULT"/>
Expand Down

0 comments on commit 9e1d071

Please sign in to comment.