hi Ignite Devs,

I'm running an Ignite cluster with ~20 server nodes (.net version) and
running ~120 client nodes that are started from a .net program from
different machines with those of server nodes.

All the machines are in Windows server 2012.

In the config of server node:
1. use the static hostname lists for all the server nodes.
2. the cache config is as below
<property name="cacheConfiguration">
            <list>
                <bean
class="org.apache.ignite.configuration.CacheConfiguration">
                    <property name="name" value="dotnet_cache_*"/>
                    
                    
                    <property name="cacheMode" value="PARTITIONED"/>
          
                    
                    <property name="backups" value="2"/>
        
                    
                    <property name="writeSynchronizationMode"
value="PRIMARY_SYNC"/>   

                    
                    <property name="memoryMode" value="OFFHEAP_TIERED"/>

                    
                    <property name="offHeapMaxMemory" value="#{10 * 1024L *
1024L * 1024L}"/>

                    <property name="atomicityMode" value="ATOMIC"/>

                    <property name="evictionPolicy">
                      
                      <bean
class="org.apache.ignite.cache.eviction.lru.LruEvictionPolicy">
                        
                        <property name="maxSize" value="10"/>
                      </bean>
                    </property>

                </bean>
            </list>
        </property>

In the config of client node, it's almost the same with that of server node,
except adding the binary configuration for the data types just as below:
<property name="platformConfiguration">
            <bean
class="org.apache.ignite.platform.dotnet.PlatformDotNetConfiguration">
                <property name="binaryConfiguration">
                    <bean
class="org.apache.ignite.platform.dotnet.PlatformDotNetBinaryConfiguration">
                        <property name="types">
                            <list>
                                <value>TypeA</value>
                                <value>TypeB</value>
                                <value>TypeC</value>
                            </list>
                        </property>
                    </bean>
                </property>
            </bean>
        </property>

Our usage is very simple and just point put/get some data from the Ignite
cache.

when start the cluster, it can work very well, but occasionally, it hangs
with the below error, sometime, it can recover automatically, but most of
time, it cannot.

[07:09:20,958][WARNING][main][GridCachePartitionExchangeManager] Failed to
wait for initial partition map exchange. Possible reasons are: 
  ^-- Transactions in deadlock.
  ^-- Long running transactions (ignore if this is the case).
  ^-- Unreleased explicit locks.
[07:09:50,964][WARNING][main][GridCachePartitionExchangeManager] Still
waiting for initial partition map exchange

Any suggestion or advice should be appreciated.

thanks,
-Jason



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Failed-to-wait-for-initial-partition-map-exchange-tp6252.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to