Hello, 1-I have two servers one on local and other on remote host. Both nodes are added to Baseline Topology. 2-I have started the cache in replicated mode on both the server nodes. The data is replicated on both nodes properly however when both nodes are running the size of data in node shown is doubled. e.g If we add one key to local node and one key to remote node expectations: Size of data in node should be 2 when both servers are running actual: Size of data in node shows 4.
Please suggest if my understanding is correct for REPLICATED mode. Below are the config files: Config file for local node: <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 id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="peerClassLoadingEnabled" value="true"/> <property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <property name="defaultDataRegionConfiguration"> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="persistenceEnabled" value="true"/> <property name="initialSize" value="#{100L * 1024 * 1024}"/> <property name="maxSize" value="#{400L * 1024 * 1024}"/> </bean> </property> <property name="pageSize" value="#{4 * 1024}"/> <property name="storagePath" value="/media/linux_hdd/keymanagementdata"/> <property name="walPath" value="/media/linux_hdd/keymanagementdata/db/wal"/> <property name="walArchivePath" value="/media/linux_hdd/keymanagementdata/db/wal/archive"/> </bean> </property> <property name="cacheConfiguration"> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="DSU_DataBase"/> <property name="cacheMode" value="REPLICATED"/> </bean> </property> <property name="discoverySpi"> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property name="ipFinder"> <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder"> <property name="addresses"> <list> <value>127.0.0.1</value> <value>192.168.111.112:7912</value> </list> </property> </bean> </property> </bean> </property> </bean> </beans> Config file for remote node: <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 id="grid.cfg" class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="peerClassLoadingEnabled" value="true"/> <property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <property name="defaultDataRegionConfiguration"> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="persistenceEnabled" value="true"/> <property name="initialSize" value="#{100L * 1024 * 1024}"/> <property name="maxSize" value="#{400L * 1024 * 1024}"/> </bean> </property> <property name="pageSize" value="#{4 * 1024}"/> <property name="storagePath" value="/media/linux_hdd/keymanagementdata"/> <property name="walPath" value="/media/linux_hdd/keymanagementdata/db/wal"/> <property name="walArchivePath" value="/media/linux_hdd/keymanagementdata/db/wal/archive"/> </bean> </property> <property name="cacheConfiguration"> <bean class="org.apache.ignite.configuration.CacheConfiguration"> <property name="name" value="DSU_DataBase"/> <property name="cacheMode" value="REPLICATED"/> </bean> </property> <property name="discoverySpi"> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property name="ipFinder"> <bean class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder"> <property name="addresses"> <list> <value>127.0.0.1</value> <value>192.168.111.111:7912</value> </list> </property> </bean> </property> </bean> </property> </bean> </beans> -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/