chesnokoff commented on code in PR #355: URL: https://github.com/apache/ignite-extensions/pull/355#discussion_r3466741774
########## modules/auto-activation-ext/src/test/resources/activate-by-node-attribute/ignite-server-node3.xml: ########## @@ -0,0 +1,114 @@ +<beans xmlns="http://www.springframework.org/schema/beans" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:util="http://www.springframework.org/schema/util" + xsi:schemaLocation=" + http://www.springframework.org/schema/beans + http://www.springframework.org/schema/beans/spring-beans.xsd + http://www.springframework.org/schema/util + http://www.springframework.org/schema/util/spring-util.xsd"> + <bean abstract="false" class="org.apache.ignite.configuration.IgniteConfiguration"> + + <!-- Настройка региона --> + <property name="dataStorageConfiguration"> + <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> + <property name="defaultDataRegionConfiguration"> + <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> + <property name="initialSize" value="#{10 * 1024 * 1024}"/> + <property name="maxSize" value="#{15 * 1024 * 1024}"/> + <property name="name" value="default"/> + <property name="persistenceEnabled" value="true"/> + <property name="metricsEnabled" value="true"/> + <property name="pageReplacementMode" value="SEGMENTED_LRU"/> + </bean> + </property> + <property name="walSegmentSize" value="#{2 * 1024 * 1024}" /> + <property name="walSegments" value="10" /> + </bean> + </property> + + <!-- Другие свойства. --> + <property name="consistentId" value="cell-2_node-1"/> + <property name="igniteInstanceName" value="cell-2_node-1"/> + + <!-- Настройка кеша --> + <property name="cacheConfiguration"> + <list> + <bean class="org.apache.ignite.configuration.CacheConfiguration"> + <property name="cacheMode" value="PARTITIONED"/> + <property name="affinity"> + <bean class="org.apache.ignite.cache.affinity.rendezvous.RendezvousAffinityFunction"> + <property name="partitions" value="32"/> + <property name="affinityBackupFilter"> + <bean class="org.apache.ignite.cache.affinity.rendezvous.ClusterNodeAttributeColocatedBackupFilter"> + <constructor-arg value="CELL"/> + </bean> + </property> + </bean> + </property> + <property name="name" value="default"/> + <property name="atomicityMode" value="ATOMIC"/> + <property name="backups" value="1"/> + </bean> + </list> + </property> + + <!-- Конфигурация TCP Discovery SPI --> Review Comment: Please, use english language for comments -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
