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

Commit c264989

Browse files
authored
Add VpcEntity cache TRANSACTIONAL to ignite_config (#673)
1 parent 6c13c68 commit c264989

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

kubernetes/services/ignite_config.xml

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

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

0 commit comments

Comments
 (0)