Hello!

I have noticed that you are using putAll in your code.

Apache Ignite is susceptible to deadlocks in the same fashion as regular
multi-threaded code: i.e., if you take multiple locks (as putAll does, on
partitions for its keys), you can get deadlock unless you maintain sequence
of locks, i.e., always lock B after A and not the other way around.

You can attain that by passing TreeMap's to putAll as opposed to HashMap's.

Can you try to pass TreeMap's to putAll, see if it fixed your issue?

Regards,



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to