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 9CDB618E58 for ; Fri, 15 Jan 2016 08:17:36 +0000 (UTC) Received: (qmail 94102 invoked by uid 500); 15 Jan 2016 08:17:36 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 94053 invoked by uid 500); 15 Jan 2016 08:17:36 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 94041 invoked by uid 99); 15 Jan 2016 08:17:36 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2016 08:17:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C9EFEC0733 for ; Fri, 15 Jan 2016 08:17:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Ckwx8oz1OFz9 for ; Fri, 15 Jan 2016 08:17:34 +0000 (UTC) Received: from mail-yk0-f181.google.com (mail-yk0-f181.google.com [209.85.160.181]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id E3F0631A90 for ; Fri, 15 Jan 2016 08:17:33 +0000 (UTC) Received: by mail-yk0-f181.google.com with SMTP id k129so512744389yke.0 for ; Fri, 15 Jan 2016 00:17:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZuphSkiP4ZgEhe5YUJAFGKUcH9bDVPJGIFv9rpBPa1Y=; b=swc1p3IU4aoeUTVwcRMlzF4Exx+vB7tZe4BAEkuN9W2sPsTlxl8+vZ/HOjklTa3BVC 51C+dFED+te5VCQJOpSPk9Da2X6oOvEJ7tnwZDh1SxmAqr2Vgrw4Sf9xQdGEZZHMxs7W iH151HIbcOgay3WMLxbJBXQ6E8aba4qeRhQo7V1nA1apnYjb8KTIdrTQDw7yfbADtOtv 51DPPep4nf1fcutk/VPqLz22mUCF7dxfyhOrHXJ9A5Mrwj8dw1T5rTpkTOza4xkMsOtN ckbsfMuoBXi2/RKlzTEhvNlXhN6bgsesPu526l4ogqOxap1ahx+qayABh44xVD39pnnm Yuqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=ZuphSkiP4ZgEhe5YUJAFGKUcH9bDVPJGIFv9rpBPa1Y=; b=TdgMufqMFK+878TWbceiPRdjQutQ/qs+rHjqgzJov0a2aydYM/pnm4Gc0N1pYZtsPT SJYWsQhkOlANcvsTXixlN8MfxzoGd04NbcZyyx/l4kE26iStHLt6/hV359xHNDfjM3GG uXz3ig53IrIrC2aOY4bN0H4x38WeHaLrVXv9PX53KCgwr2zEwZXhcaqh0/0UKpy/Qgqv igU2x8mjmXmjnaSjB942W70Aos1ehjZ0QwZivGddKqmAMyc+M9i7NMYfo0Muvz7fHnTb K0I84wqhB6fx3ANBfF5qqdKgCezX4MPRCCO7Pawfvrrs/kLZJf0z8TjZDV7Br8/ECCQI PpPw== X-Gm-Message-State: AG10YOTbG1RdSLxqni91y98J8GOMawFBrzCCQoOR6BbmgXYb1PBwhOInPWytXk2LXna2DTVcMK3KIWxQ9NAA/Q== MIME-Version: 1.0 X-Received: by 10.129.153.12 with SMTP id q12mr1961732ywg.296.1452845852829; Fri, 15 Jan 2016 00:17:32 -0800 (PST) Received: by 10.13.222.198 with HTTP; Fri, 15 Jan 2016 00:17:32 -0800 (PST) In-Reply-To: References: Date: Fri, 15 Jan 2016 11:17:32 +0300 Message-ID: Subject: Re: New method in IgniteCache API. From: Alexey Goncharuk To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary=94eb2c0bd380f8b29b05295b081e --94eb2c0bd380f8b29b05295b081e Content-Type: text/plain; charset=UTF-8 Still not sure how they are similar: TopologyValidator is invoked on every topology change and provides a boolean result whether topology is ready to be used. Currently there is no way to mark a 'failed' topology as valid without another topology change. This new method that Vladimir suggests resets the partition state after it has been lost, it does not invoke topology validator and does not need a topology change to work. 2016-01-15 10:59 GMT+03:00 Dmitriy Setrakyan : > Alexey, > > All I am saying is that the difference between topology validator and this > new method becomes very subtle. One just looks like a subset of another. Am > I wrong? > > D. > > On Thu, Jan 14, 2016 at 2:38 AM, Alexey Goncharuk < > alexey.goncharuk@gmail.com> wrote: > > > Dmitriy, > > > > Are you suggesting that we need to pass partitions state to a topology > > validator so that user needs to check it manually. I do not think this is > > convenient for an end-user and like the approach with the policy that > > Vladimir suggested better. > > > > Raul, > > > > I assume you want to add IgniteCacheEx interface? How one would get it? > > Another thing that crossed my mind was that it may be more efficient to > > reset the state of multiple caches simultaneously, so maybe we should add > > this method to Ignite and pass a list of cache names? > > > --94eb2c0bd380f8b29b05295b081e--