An error of creation of dynamic cache on a client node

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

An error of creation of dynamic cache on a client node

Denis Garus
Hi, Igniters!

Currently, errors of creation dynamic caches on server nodes and client
nodes are different.
If an error occurs on a server node, all cache nodes should revert the
changes [1].
If an error occurred on a client node, the client reverts the changes,
servers nodes start cache.
In that case, the client node just throws the CacheException [2].

Is this way correct?
Maybe we should stop the client node if an error of cache creation occurred
on it?

[1] https://issues.apache.org/jira/browse/IGNITE-1094 
[2] the reproducer: https://github.com/apache/ignite/pull/4512/files 



--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: An error of creation of dynamic cache on a client node

Mmuzaf
Denis,

I've double-checked your reproducer and seems it passes on current  master.
Not sure what should I do to fail it. Can you help?

I would like to hear the opinion of other community members, but as for me
it's OK when client node sends cache creation request to cluster and may
fail with it by some reasouns. Server nodes should handle this request and
create cache for themselfs.

On Fri, 10 Aug 2018 at 12:55 Denis Garus <[hidden email]> wrote:

> Hi, Igniters!
>
> Currently, errors of creation dynamic caches on server nodes and client
> nodes are different.
> If an error occurs on a server node, all cache nodes should revert the
> changes [1].
> If an error occurred on a client node, the client reverts the changes,
> servers nodes start cache.
> In that case, the client node just throws the CacheException [2].
>
> Is this way correct?
> Maybe we should stop the client node if an error of cache creation occurred
> on it?
>
> [1] https://issues.apache.org/jira/browse/IGNITE-1094
> [2] the reproducer: https://github.com/apache/ignite/pull/4512/files
>
>
>
> --
> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
>
--
--
Maxim Muzafarov