Re: Ignite client stuck

2020-03-17 Thread mikle-a
Hi! Thanks a lot for your reply. I am absolutely sure that all ports are open and hosts are reachable because: 1) It had been working before 2) I was able to ping all other nodes from the client host while it was stucked 3) It started working after restart Any ideas? -- Sent from:

Ignite client stuck

2020-03-16 Thread mikle-a
Hi guys! I have ignite cluster of 3 nodes and couple of applications with enabled client mode and default communication spi configuration. One morning I found one of applications being stucked with following messages in the log: I was able to connect to the server via ssh, no connectivity

Re: Offheap memory consumption + enabled persistence

2020-02-24 Thread mikle-a
Hi Dmitry! I didn't understand about "pure data size" :( Could you please specify how to calculate it? Despite this, I've added monitoring for mentioned cache folders and retested case with random keys and enabled persistence. Overall test chart:

Re: Different data regions on nodes

2020-02-04 Thread mikle-a
Have found that it could be solved with node filters and attributes: mark server with special custom attribute: new IgniteConfiguration().setUserAttributes(Collections.singletonMap("role", "hasRegion")) specify node filter for the cache, which selects only servers with custom attribute mentioned

Offheap memory consumption + enabled persistence

2020-02-03 Thread mikle-a
Hi! Problem I've noticed some weird behavior while working with enabled persistence (native storage): I put some amount of entries to the cluster and delete them afterwards. When I use the same set of keys each time, I see that *DataRegionMetrics.getOffheapUsedSize* reaches some limit and don't

Page size for large objects

2020-02-03 Thread mikle-a
Hi! As I got from the documentation, DataStorageConfiguration "pageSize" parameter have to be adjusted when we have a lot of big objects. 1) How to find out actual object size? I've accomplished it with *((BinaryObjectImpl)ignite.binary().toBinary(myObject)).length()*, but not sure whether it is

Re: Different data regions on nodes

2020-02-03 Thread mikle-a
Example as code: package com.test.ignite.dataregions; import org.apache.ignite.Ignite; import org.apache.ignite.Ignition; import org.apache.ignite.cache.CacheMode; import org.apache.ignite.configuration.CacheConfiguration; import org.apache.ignite.configuration.DataRegionConfiguration; import

Different data regions on nodes

2020-02-03 Thread mikle-a
Hi there! Is it allowed to have different data regions on server nodes? Example definition For instance, I want to have the following cluster: 1) server node #1 with data region "region1" 2) server node #2 with data regions "region1" and "region2" 3) server node #3 with data regions "region1"