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 E77F018870 for ; Wed, 13 Jan 2016 17:05:26 +0000 (UTC) Received: (qmail 41524 invoked by uid 500); 13 Jan 2016 17:05:26 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 41479 invoked by uid 500); 13 Jan 2016 17:05:26 -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 41467 invoked by uid 99); 13 Jan 2016 17:05:26 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jan 2016 17:05:26 +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 9ECC2C17A1 for ; Wed, 13 Jan 2016 17:05:25 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.98 X-Spam-Level: ** X-Spam-Status: No, score=2.98 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.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 WKIMwG9hX8dL for ; Wed, 13 Jan 2016 17:05:19 +0000 (UTC) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id E5D5531AE3 for ; Wed, 13 Jan 2016 17:05:18 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id vt7so60290775obb.1 for ; Wed, 13 Jan 2016 09:05:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=iFO5altcJGZGNvnNeohT3inCzUI8UAQm9jxXcL4RyxI=; b=0WmTERrYUPU4JlWlqEDFxq/ibPD1XkrTXHLJyh9JwjxZTeNtOoMMznG4XKSiQyp1sE XsAMKlSVpBaWtvdgJScJ39Ut/aWc2Nd2Xgf3Ma3JRjym0FFkLiQ7SlUPZmG63zDeKZai pHXaqT24gkfO7qJkuCYUW17QcFzIG1T6Mj8pzjUQuMNfzdui8ljoo9x5b4sZGrdNjSLs GQnqFwLvFQMN3bgrSZ1vJfQ43QXjRMqyM3UuTd0D32D9+A7qi5eZPa8tMDbwRVhD8i16 Od+D4+R65rx+NcmJdP/B/43u2fEPIkiado9Xo+I4pxqSeDjiOGPrMjKeBVZpiClfnoGI xipg== 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=iFO5altcJGZGNvnNeohT3inCzUI8UAQm9jxXcL4RyxI=; b=GF+VauzfXIg7vvnWLUf0qTczCPJ60N/dSNEJcBS8f9C4xd+j0aO6nQgLU+wLMmddD4 hGq9Tcd0lH1AvDG98jUNoAHLMOcWAoy6lpPJjKodNvoLKwYZUY5nx88MzLoEIhiSi6DQ c6a3nDlaWaw+FYcrc2oke4Fio+vFEEv4Nzt9SoB8O1ZPGfg0SPPmOkrxa5Ytg1GFyeIA x4tLrG/MoLrgc9XVrDQENIqHipD3VTw2P6ht9+QCYOKQSOzVYEivx58wgk4LDyPuIXYg NQJ7qri+mG9cZlcrvpOhEdTkYairTzDBi+u8KtvHrMnzxNfFHovnpAA1B4Tf47jl1o22 xD0w== X-Gm-Message-State: ALoCoQkWn4HGC0PmQ5eesZw5CEjxPZ5XMsxwXm/pulit5F8nJROIpdyRI6AkQUFsyqJDp4kU19hkEzAxenSj+fpEImLixUlmPBZeN0U6T8OR+H/czLdiH9s= MIME-Version: 1.0 X-Received: by 10.182.230.10 with SMTP id su10mr2715068obc.28.1452704717773; Wed, 13 Jan 2016 09:05:17 -0800 (PST) Received: by 10.76.169.134 with HTTP; Wed, 13 Jan 2016 09:05:17 -0800 (PST) In-Reply-To: References: Date: Wed, 13 Jan 2016 20:05:17 +0300 Message-ID: Subject: Re: New method in IgniteCache API. From: Vladimir Ershov To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary=001a1134646caabb1b05293a2ce7 --001a1134646caabb1b05293a2ce7 Content-Type: text/plain; charset=UTF-8 Dmitriy, I've added new GridDhtPartitionState.LOST state for partitions that were lost, and also new CacheConfiguration property - DataLossPolicy. If DataLossPolicy is FAIL_OPS, then all lost partitions get LOST state, and all actions for any keys on those lost partitions throw exception, until lost partition state is not reset by *resetLostPartitions*. On Wed, Jan 13, 2016 at 7:42 PM, Dmitriy Setrakyan wrote: > Vladimir, > > Can you please describe what this method will be doing? I am note sure I > understand what resetting state of the lost partition means. > > D. > > On Wed, Jan 13, 2016 at 5:23 AM, Vladimir Ershov > wrote: > > > Igniters! > > > > Since we are going to add stronger data loss check IGNITE-1605 > > I'm about to add new > > method for the manual resetting state of the lost partition in > IgniteCache > > IgniteFuture *resetLostPartitions*(); > > just near #rebalance(). > > > > And would like to ask the community: Does *resetLostPartitions *naming > > sound good? > > Thoughts appreciated, > > Thanks! > > > --001a1134646caabb1b05293a2ce7--