entyproccessor dont locking entry

2018-07-30 Thread sergey.dolinkov
there is next code: counters.forEach((key, value) -> { TaskTicketsCounter outCounter = taskTicketCounterCache.invoke(key, (entry, args) -> { TaskTicketsCounter counter = entry.getValue(); if (counter != null) {

Re: service deploy cluster singleton lock application

2018-07-26 Thread sergey.dolinkov
upload as files locked-node-treaddump.txt worked-node-threaddump.txt -- Sent from:

Re: service deploy cluster singleton lock application

2018-07-26 Thread sergey.dolinkov
After a little analysis of the source code, I found out that when I called the method deployClusterSingleton I get GridServiceDeploymentCompoundFuture and it is never complite. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: service deploy cluster singleton lock application

2018-07-26 Thread sergey.dolinkov
This is an example. The original code is more complicated. For configuration, we convert megabytes to bytes. In this example, there are no errors in the logs. -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

service deploy cluster singleton lock application

2018-07-25 Thread sergey.dolinkov
I try create spring java application with apache ignite inside. When application startup it deploy service(cluster singleton) to cluster. (it`s ok) But when i start second node which deploy this service too it is locked. why this hapends ? Apache Ignite 2.5.0 code of service class: public