GridGain Community Edition

Expand all | Collapse all

No Primary Partition Distribution over the nodes

  • 1.  No Primary Partition Distribution over the nodes

    Posted 01-15-2021 02:44 AM
    Hi there

    I'm pretty new with gridgain and I've set up a cluster for test purposes with three nodes and I've activated the cluster. In the xml configuration file of the nodes I created a template I use to create a new table (see configs below). Creating a table and inserts are possible. But there is no distribution among the nodes: all the primary partition are remaining on the coordinator node. Even am manual rebalancing in the gridgain control center doesn't have any effect. Does anyone have an idea how I cant get the balancing working or where I could search for an error?

    Kind regards, John

    <property name="cacheConfiguration">
    <list>
    <bean abstract="true" class="org.apache.ignite.configuration.CacheConfiguration" id="cache-template-bean">
    <!-- Set the cache name. -->
    <property name="name" value="myCacheTemplate*"/>
    <!-- Set the cache mode. -->
    <property name="cacheMode" value="PARTITIONED"/>
    <!-- Number of backup copies -->
    <property name="backups" value="3"/>
    <!-- Waiting for sync all nodes -->
    <property name="writeSynchronizationMode" value="FULL_SYNC"/>
    <!-- Guarantees atomicity -->
    <property name="atomicityMode" value="TRANSACTIONAL"/>
    <!-- enable synchronous rebalance mode -->
    <property name="rebalanceMode" value="ASYNC"/>
    </bean>
    </list>
    </property>

    ------------------------------
    John
    ------------------------------


  • 2.  RE: No Primary Partition Distribution over the nodes

    Posted 01-15-2021 02:48 AM
    Hello!

    Do you use persistence? What is your baseline topology? What version of GridGain are you on?

    Regards,

    ------------------------------
    Ilya Kasnacheev
    Community Support Specialist
    GridGain
    ------------------------------



  • 3.  RE: No Primary Partition Distribution over the nodes

    Posted 01-15-2021 04:55 AM
    Hi Iliya

    Oh, shame on me, I forgot most of the informations:
    - I use persistence
    - gridgain version: community edition 8.7.32
    - baseline topology ..... oops - one node. Here's the mistake. I'll have to look how to adjust the baseline topology.

    Your questions helped me already a lot, thanks!

    Kind regards
    John

    ------------------------------
    John
    ------------------------------