ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Дмитрий Рябов <somefire...@gmail.com>
Subject Re: IGNITE-4188, savepoints with atomic cache?
Date Tue, 28 Mar 2017 12:46:30 GMT
I'd prefer ignoring them instead of throwing exceptions - couse user can
use different cache configurations inside one tx and user can create some
logic depending on cached values in any cache.

2017-03-28 13:08 GMT+03:00 Yakov Zhdanov <yzhdanov@apache.org>:

> As far as I know operations on atomic caches are applied immediately
> dishonoring any tx context.
>
> I would suggest that atomic cache update operation called from active tx
> throws illegal state exception, unless user intentionally permits this
> update by calling atomicCache.withAllowInTx() (similar to withSkipStore()).
>
> Thoughts?
>
> --Yakov
>

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