ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: Explicit lock inside a transaction
Date Tue, 24 Nov 2015 00:34:52 GMT
It is currently not supported, but it should not throw an NPE. To be
honest, I am not sure why we don’t support it. IMHO, it should be analogous
to a get() call which returns no value.

Can anyone shed some light on this?

D.

On Tue, Nov 24, 2015 at 3:09 AM, Valentin Kulichenko <
valentin.kulichenko@gmail.com> wrote:

> Igniters,
>
> Do we allow to acquire explicit locks (cache.lock(..) method) within an
> explicit transaction? Currently it doesn't work which makes me think that
> it's an invalid usage, but it fails with NPE [1]. Do we need to fix it or
> just provide proper message?
>
> [1] https://issues.apache.org/jira/browse/IGNITE-1988
>
> -Val
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message