ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "naresh.goty" <gnr.spri...@gmail.com>
Subject Re: Cannot start/stop cache within lock or transaction
Date Wed, 13 Sep 2017 22:30:40 GMT
Frankly, I am quite perplexed that the simplest of the API (getOrCreate) can
potentially deadlock the application.

1. Can you please tell me how to use Locks then? If an application has a
need to create a cache and it has a need to use Lock/unlock block, if the
getOrCreate happens to occur in one thread at a time when another locking
thread is in the middle of the lock-unlock block, is that a deadlock? Thats
what we are seeing

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

View raw message