[infinispan-issues] [JBoss JIRA] (ISPN-9762) Cache hangs during rebalancing

Sergey Chernolyas (Jira) issues at jboss.org
Thu Nov 22 07:31:00 EST 2018


     [ https://issues.jboss.org/browse/ISPN-9762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Chernolyas updated ISPN-9762:
------------------------------------
    Description: 
I have a cluster with two nodes. One node starts without problem. Second node hangs on rebalancing  cache DEVICES.

Configuration of the cache:

{code:xml}
  <distributed-cache name="DEVICES" owners="2" segments="256"  mode="SYNC">
                    <state-transfer await-initial-transfer="true" enabled="true" timeout="2400000" chunk-size="2048"/>
                    <partition-handling when-split="ALLOW_READ_WRITES" merge-policy="PREFERRED_ALWAYS"/>
                    <memory>
                        <object size="300000" strategy="REMOVE"/>
                    </memory>
                    <rocksdb-store preload="true" path="/data/rocksdb/devices/data">
                        <expiration path="/data/rocksdb/devices/expired"/>
                    </rocksdb-store>
                    <indexing index="LOCAL">
                        <property name="default.indexmanager">org.infinispan.query.indexmanager.InfinispanIndexManager</property>
                        <property name="default.directory_provider">infinispan</property>
                        <property name="default.worker.execution">async</property>
                        <property name="default.index_flush_interval">500</property>
                        <property name="default.indexwriter.merge_factor">30</property>
                        <property name="default.indexwriter.merge_max_size">1024</property>
                        <property name="default.indexwriter.ram_buffer_size">256</property>
                        <property name="default.locking_cachename">LuceneIndexesLocking_devices</property>
                        <property name="default.data_cachename">LuceneIndexesData_devices</property>
                        <property name="default.metadata_cachename">LuceneIndexesMetadata_devices</property>
                    </indexing>
                    <expiration max-idle="172800000"/>
                </distributed-cache>
{code}


  was:
I have a cluster with two nodes. One node starts without problem. Second node hangs on rebalancing  cache DEVICES.

Configuration of the cache:

```
  <distributed-cache name="DEVICES" owners="2" segments="256"  mode="SYNC">
                    <state-transfer await-initial-transfer="true" enabled="true" timeout="2400000" chunk-size="2048"/>
                    <partition-handling when-split="ALLOW_READ_WRITES" merge-policy="PREFERRED_ALWAYS"/>
                    <memory>
                        <object size="300000" strategy="REMOVE"/>
                    </memory>
                    <rocksdb-store preload="true" path="/data/rocksdb/devices/data">
                        <expiration path="/data/rocksdb/devices/expired"/>
                    </rocksdb-store>
                    <indexing index="LOCAL">
                        <property name="default.indexmanager">org.infinispan.query.indexmanager.InfinispanIndexManager</property>
                        <property name="default.directory_provider">infinispan</property>
                        <property name="default.worker.execution">async</property>
                        <property name="default.index_flush_interval">500</property>
                        <property name="default.indexwriter.merge_factor">30</property>
                        <property name="default.indexwriter.merge_max_size">1024</property>
                        <property name="default.indexwriter.ram_buffer_size">256</property>
                        <property name="default.locking_cachename">LuceneIndexesLocking_devices</property>
                        <property name="default.data_cachename">LuceneIndexesData_devices</property>
                        <property name="default.metadata_cachename">LuceneIndexesMetadata_devices</property>
                    </indexing>
                    <expiration max-idle="172800000"/>
                </distributed-cache>
```



> Cache hangs during rebalancing
> ------------------------------
>
>                 Key: ISPN-9762
>                 URL: https://issues.jboss.org/browse/ISPN-9762
>             Project: Infinispan
>          Issue Type: Bug
>    Affects Versions: 9.4.2.Final
>            Reporter: Sergey Chernolyas
>            Priority: Blocker
>
> I have a cluster with two nodes. One node starts without problem. Second node hangs on rebalancing  cache DEVICES.
> Configuration of the cache:
> {code:xml}
>   <distributed-cache name="DEVICES" owners="2" segments="256"  mode="SYNC">
>                     <state-transfer await-initial-transfer="true" enabled="true" timeout="2400000" chunk-size="2048"/>
>                     <partition-handling when-split="ALLOW_READ_WRITES" merge-policy="PREFERRED_ALWAYS"/>
>                     <memory>
>                         <object size="300000" strategy="REMOVE"/>
>                     </memory>
>                     <rocksdb-store preload="true" path="/data/rocksdb/devices/data">
>                         <expiration path="/data/rocksdb/devices/expired"/>
>                     </rocksdb-store>
>                     <indexing index="LOCAL">
>                         <property name="default.indexmanager">org.infinispan.query.indexmanager.InfinispanIndexManager</property>
>                         <property name="default.directory_provider">infinispan</property>
>                         <property name="default.worker.execution">async</property>
>                         <property name="default.index_flush_interval">500</property>
>                         <property name="default.indexwriter.merge_factor">30</property>
>                         <property name="default.indexwriter.merge_max_size">1024</property>
>                         <property name="default.indexwriter.ram_buffer_size">256</property>
>                         <property name="default.locking_cachename">LuceneIndexesLocking_devices</property>
>                         <property name="default.data_cachename">LuceneIndexesData_devices</property>
>                         <property name="default.metadata_cachename">LuceneIndexesMetadata_devices</property>
>                     </indexing>
>                     <expiration max-idle="172800000"/>
>                 </distributed-cache>
> {code}



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list