Apache ignite transaction issue: Failed to enlist entry

2017-09-02 Thread richabali
I am using transaction as below: ignite = Ignition.ignite(); igniteTransactions = ignite.transactions(); Transaction igniteTransaction = igniteTransactions.tx(); if(igniteTransaction == null){ igniteTransaction = igniteTransactions.txStart(TransactionConcurrency.OPTIMISTIC,

Specifying location of persistent storage location

2017-09-02 Thread Raymond Wilson
Hi, I’m running a POC looking at the Ignite Persistent Store feature. I have added a section to the configuration for the Ignite grid as follows: cfg.PersistentStoreConfiguration = new PersistentStoreConfiguration() { PersistentStorePath = Persiste

Re: Enforcing data to be stored in Heap only

2017-09-02 Thread Amit Pundir
Hi Val, Would the BinaryObject api improve the performance even if the Key and Value both are user-defined-objects instead of primitives? I have a cluster of 8 ignite server nodes and 8 ignite client nodes (tomcat). My use-case first gets a value for a key to the client node, updates the state of

Re: Limiting the size of Persistent Store and clearing data on restart

2017-09-02 Thread userx
Hi all, Regarding question 2, let me put it this way. Like ignite has eviction policy for RAM described at https://apacheignite.readme.io/docs/evictions Is there an eviction policy for a persistent store ? Say for a use case where in I cannot allocate a dedicated 1 or 2 tb space (like we do for r