You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by Yakov Zhdanov <yz...@apache.org> on 2015/03/06 14:26:37 UTC

cache topology validator

Guys,

I think we should provide user with ability to validate cache topology
before each cache operation.

Now user cannot validate the topology of cache update, but this seems to be
a good feature. I can validate task topology and throw exception on MAP
step, but I cannot do that on cache put.

I suggest introducing special topology validator. Whenever cache topology
changes - it is passed to validator. Validator can check nodes number and
presence of particular (if user have servers with special role in
topology), this also may be used to validate segment local node operates
in. If cache topology is not valid each cache update throws exception until
cache topology does not become valid back.

--Yakov

Re: cache topology validator

Posted by Dmitriy Setrakyan <ds...@apache.org>.
+1

I think we should create a ticket for it and pick it up in sprint-3 or
sprint-4.

D.

On Fri, Mar 6, 2015 at 5:26 AM, Yakov Zhdanov <yz...@apache.org> wrote:

> Guys,
>
> I think we should provide user with ability to validate cache topology
> before each cache operation.
>
> Now user cannot validate the topology of cache update, but this seems to be
> a good feature. I can validate task topology and throw exception on MAP
> step, but I cannot do that on cache put.
>
> I suggest introducing special topology validator. Whenever cache topology
> changes - it is passed to validator. Validator can check nodes number and
> presence of particular (if user have servers with special role in
> topology), this also may be used to validate segment local node operates
> in. If cache topology is not valid each cache update throws exception until
> cache topology does not become valid back.
>
> --Yakov
>