ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolai Tikhonov <ntikho...@apache.org>
Subject Re: Apache Ignite cluster freeze after a period of time
Date Wed, 14 Sep 2016 17:05:54 GMT

How I see from logs you are performing putAll from many threads and I think
that you got deadlock because try to get locks on keys in random order. For
example: first thread try to lock K1 and K2 and second thread K2 and K1.
Please, make sure that you pass sorted map to putAll (for example TreeMap
instead of HashMap).

On Wed, Sep 14, 2016 at 7:53 PM, qwertywx <qwertywx@hotmail.com> wrote:

> Hello,
> I got the thread dump but in there I found something strange.  dump.log
> <http://apache-ignite-users.70518.x6.nabble.com/file/n7749/dump.log>
> It seems there is a deadlock as the dump says. But I do not know the reason
> of it :(
> Any ideas?
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Apache-Ignite-cluster-freeze-after-a-
> period-of-time-tp7726p7749.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.

View raw message