Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Commit 85de8fb

Browse files
author
Liguang Xie
committed
Update ignite config xml to support transaction in VpcRepository
1 parent 639a0cd commit 85de8fb

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

kubernetes/services/ignite_config.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,15 @@ Copyright(c) 2020 Futurewei Cloud
4545

4646
<property name="cacheConfiguration">
4747
<list>
48+
<bean class="org.apache.ignite.configuration.CacheConfiguration">
49+
<!-- Set the cache name. -->
50+
<property name="name" value="com.futurewei.alcor.web.entity.vpc.VpcEntity"/>
51+
<!-- Set the cache mode. -->
52+
<property name="atomicityMode" value="TRANSACTIONAL"/>
53+
<!-- Other cache parameters. -->
54+
<property name="cacheMode" value="PARTITIONED"/>
55+
</bean>
56+
4857
<bean class="org.apache.ignite.configuration.CacheConfiguration">
4958
<!-- Set the cache name. -->
5059
<property name="name" value="dpm_nodeinfo_cache"/>

0 commit comments

Comments
 (0)