Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3157C175B5 for ; Sun, 8 Mar 2015 04:01:40 +0000 (UTC) Received: (qmail 13902 invoked by uid 500); 8 Mar 2015 04:01:40 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 13856 invoked by uid 500); 8 Mar 2015 04:01:40 -0000 Mailing-List: contact dev-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list dev@ignite.incubator.apache.org Received: (qmail 13845 invoked by uid 99); 8 Mar 2015 04:01:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2015 04:01:40 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 08 Mar 2015 04:01:39 +0000 Received: (qmail 13420 invoked by uid 99); 8 Mar 2015 04:01:18 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Mar 2015 04:01:18 +0000 Received: from mail-ob0-f178.google.com (mail-ob0-f178.google.com [209.85.214.178]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 5C7681A02BC for ; Sun, 8 Mar 2015 04:01:18 +0000 (UTC) Received: by obcwp18 with SMTP id wp18so16428874obc.1 for ; Sat, 07 Mar 2015 20:01:17 -0800 (PST) X-Gm-Message-State: ALoCoQkSVt0ucxHGT9+H3RhPXnfn619BE0m/bufb3U/Cq1EYY0rqbCgcQWDdT0+y5bXmccDI+bjd X-Received: by 10.60.62.7 with SMTP id u7mr1889747oer.72.1425787277548; Sat, 07 Mar 2015 20:01:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.223.133 with HTTP; Sat, 7 Mar 2015 20:00:37 -0800 (PST) In-Reply-To: References: From: Dmitriy Setrakyan Date: Sat, 7 Mar 2015 20:00:37 -0800 Message-ID: Subject: Re: cache topology validator To: "dev@ignite.incubator.apache.org" Content-Type: multipart/alternative; boundary=089e01538a5434374d0510bef84f X-Virus-Checked: Checked by ClamAV on apache.org --089e01538a5434374d0510bef84f Content-Type: text/plain; charset=UTF-8 +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 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 > --089e01538a5434374d0510bef84f--