Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-23 Thread Yakov Zhdanov
Vlad, can you please check my comments again? --Yakov 2016-03-18 17:57 GMT+03:00 Vladisav Jelisavcic : > Hi Yakov, > > yes, thanks for the comments, I think everything should be ok now, > please review the PR and tell me if you think anything else is needed. > > Once ignite-642 is merged into ma

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-19 Thread Dmitriy Setrakyan
On Fri, Mar 18, 2016 at 7:57 AM, Vladisav Jelisavcic wrote: > Hi Yakov, > > yes, thanks for the comments, I think everything should be ok now, > please review the PR and tell me if you think anything else is needed. > > Once ignite-642 is merged into master, > I'll submit a PR for IgniteReadWrite

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-19 Thread Yakov Zhdanov
Vlad, did you have a chance to review my latest comments? Thanks! -- Yakov Zhdanov, Director R&D *GridGain Systems* www.gridgain.com 2016-03-06 12:21 GMT+03:00 Yakov Zhdanov : > Vlad and all (esp Val and Anton V.), > > I reviewed the PR. My comments are in the ticket. > > Anton V. there is a que

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-14 Thread Anton Vinogradov
I've populated FAQ https://cwiki.apache.org/confluence/display/IGNITE/FAQ On Fri, Mar 11, 2016 at 9:58 PM, Dmitriy Setrakyan wrote: > On Fri, Mar 11, 2016 at 10:20 AM, Christos Erotocritou < > chris...@gridgain.com> wrote: > > > We already have a basic FAQ page which I am populating: > > http://

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-11 Thread Dmitriy Setrakyan
On Fri, Mar 11, 2016 at 10:20 AM, Christos Erotocritou < chris...@gridgain.com> wrote: > We already have a basic FAQ page which I am populating: > http://apacheignite.gridgain.org/docs/faq < > http://apacheignite.gridgain.org/docs/faq> > > Please feel free to add to it. > Thanks Christos! Here is

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-11 Thread Christos Erotocritou
Ah, I realise now that this FAQ you are talking about is probably more of a dev one where as the one I’ve created is more product focused. Christos > On 11 Mar 2016, at 18:20, Christos Erotocritou wrote: > > We already have a basic FAQ page which I am populating: > http://apacheignite.gridgai

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-11 Thread Christos Erotocritou
We already have a basic FAQ page which I am populating: http://apacheignite.gridgain.org/docs/faq Please feel free to add to it. Not sure if we want to migrate this to the wiki? Christos > On 11 Mar 2016, at 17:35, Dmitriy Setrakyan wrote: > > +1 o

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-11 Thread Dmitriy Setrakyan
+1 on FAQ Can we just create a page, and start populating it? D. On Fri, Mar 11, 2016 at 3:25 AM, Anton Vinogradov wrote: > Yakov, > > I've answered. > Seems we have to have special FAQ section at Ignite wiki to publish same > things. > > On Sun, Mar 6, 2016 at 12:21 PM, Yakov Zhdanov > wrote

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-11 Thread Anton Vinogradov
Yakov, I've answered. Seems we have to have special FAQ section at Ignite wiki to publish same things. On Sun, Mar 6, 2016 at 12:21 PM, Yakov Zhdanov wrote: > Vlad and all (esp Val and Anton V.), > > I reviewed the PR. My comments are in the ticket. > > Anton V. there is a question regarding op

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-03-06 Thread Yakov Zhdanov
Vlad and all (esp Val and Anton V.), I reviewed the PR. My comments are in the ticket. Anton V. there is a question regarding optimized-classnames.properties. Can you please respond in ticket? --Yakov 2016-02-29 16:00 GMT+06:00 Yakov Zhdanov : > Vlad, that's great! I will take a look this wee

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-02-29 Thread Yakov Zhdanov
Vlad, that's great! I will take a look this week. Reassigning ticket to myself. --Yakov 2016-02-26 18:37 GMT+03:00 Vladisav Jelisavcic : > Hi, > > i recently implemented distributed ReentrantLock - IGNITE-642, > i made a pull request, so hopefully this could be added to the next > release. > > B

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-02-19 Thread nyname00
le.com/Semaphore-blocking-on-tryAcquire-while-holding-a-cache-lock-tp3031p3097.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-02-18 Thread vkulichenko
ore-blocking-on-tryAcquire-while-holding-a-cache-lock-tp3031p3088.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-02-18 Thread nyname00
phore issue when I'm done > with IGNITE-2610. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Semaphore-blocking-on-tryAcquire-while-holding-a-cache-lock-tp3031p3079.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-02-18 Thread Alexey Goncharuk
Folks, The current implementation of IgniteCache.lock(key).lock() has the same semantics as the transactional locks - cache topology cannot be changed while there exists an ongoing transaction or an explicit lock is held. The restriction for transactions is quite fundamental, the lock() issue can

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-02-17 Thread nyname00
.out.println("oh no"); } } -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Semaphore-blocking-on-tryAcquire-while-holding-a-cache-lock-tp3031p3061.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-02-17 Thread Vladimir Ozerov
ngleThreadScheduledExecutor() and schedule a > >> worker to run every n seconds > >> - in the worker, get a semaphore and call IgniteSemaphore#tryAcquire() > >> - do some work and call IgniteSemaphore#release() > >> (except for the cache/lock and semaphore no Ignite API ca

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-02-16 Thread nyname00
ore#tryAcquire() call starts >> blocking. >> >> Is this this a known limitation/issue or am I doing something wrong here? >> >> Thanks in advance, >> Mario >> >> ps: when I replace the cache-lock with an other semaphore, it works >> >> >> &g

Re: Semaphore blocking on tryAcquire() while holding a cache-lock

2016-02-16 Thread Yakov Zhdanov
View this message in context: > http://apache-ignite-users.70518.x6.nabble.com/Semaphore-blocking-on-tryAcquire-while-holding-a-cache-lock-tp3031.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >

Semaphore blocking on tryAcquire() while holding a cache-lock

2016-02-16 Thread nyname00
, it works -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Semaphore-blocking-on-tryAcquire-while-holding-a-cache-lock-tp3031.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.