From dev-return-33210-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Apr 11 01:33:44 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 99A6A18064C for ; Wed, 11 Apr 2018 01:33:43 +0200 (CEST) Received: (qmail 67453 invoked by uid 500); 10 Apr 2018 23:33:42 -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 67436 invoked by uid 99); 10 Apr 2018 23:33:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Apr 2018 23:33:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 63CA01A0FF9 for ; Tue, 10 Apr 2018 23:33:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.898 X-Spam-Level: * X-Spam-Status: No, score=1.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id D50_qo31hKHk for ; Tue, 10 Apr 2018 23:33:40 +0000 (UTC) Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 4FCBE5F5FA for ; Tue, 10 Apr 2018 23:33:40 +0000 (UTC) Received: by mail-io0-f182.google.com with SMTP id o4so378281iod.3 for ; Tue, 10 Apr 2018 16:33:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=eev0BVSrO2mwPNNO3zrthzgIraf1Ay3r+GZkXuqVm74=; b=R6PrviMR/+Ndn/OOhUCy9cbgmxTpthgwZRQmxSmM7/wadiZ1lUGUO1X/OBLjUN3d1K BB9H/qTKVv3UXmw98gCGzj6Y6dZrQvfyZKqD50Zk25YBtTz5p8qsfIKTMSwpLe43BRz8 hY+v99HJCbc/gYAY+Q1AokU35j+afybYo6RGNdB6nV0kuPGZWGGRp2FCgLQqK7XcQ8Zw tKcAfZIzfiGUfmZaHekMW0apCBpT3oc0A+t1825BkT6+gtmX6iozhHbJ9SuH4U1BHKHI z1ZX65fT23I0VXUqQf5024liufWdpsQhHSVdhdgrh8lzQ8xsZjZthNjnwS9lyZJfXG85 aaAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=eev0BVSrO2mwPNNO3zrthzgIraf1Ay3r+GZkXuqVm74=; b=GPCoLlJpubYg4RSPHYpBYtBkziBWrJ3+JrTukIVFGwH0UhYTv3GhNZYA1Rwb5atsTk 16itwnXv2IgBRTpGVGKqNVwXG4wWxs3eo4MUhCz9CSllNJgugkelbNBpe11xyYhsDYfl yVAEtRf1rFbwE1unIBvMbVZwlTx+Y878x7GKKMa6vqc/INS6oWWGry4LF7vgeH5JQz6e yZtCNXMREWmLTlC8xPLQmrzISSH6+1BLsepOaggwLEg7y1Ry4u/DtYyOGtlTUNrBJBDo MnHqWENhQLqtEo3+R6uq+ZFcVjEh8DEFRNZa4Z0zxRtxaJPntC0ByD0JZccacfTLoWQm H3kA== X-Gm-Message-State: ALQs6tBGSDMER7CnLE85sx1DCwZxbbCboZkolIj2iHJUkuwKOqI8U2Nb 8NInh8HdIjjXBWsXBCYeLQ8AyFS8Yq3OKBWJIkL0Fw== X-Google-Smtp-Source: AIpwx491HqOHSaD4JzbX1ZdIi1RxFzNrVqveJVkCaGrLcE0z2cftw0PQQjXOWsp1wKPelmTJ+B2RbtOV77XEVldaRSA= X-Received: by 10.107.144.197 with SMTP id s188mr2666358iod.147.1523403213487; Tue, 10 Apr 2018 16:33:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.169.96 with HTTP; Tue, 10 Apr 2018 16:33:03 -0700 (PDT) In-Reply-To: References: <1523047400803-0.post@n4.nabble.com> <1523279947616-0.post@n4.nabble.com> <1523394232806-0.post@n4.nabble.com> From: Valentin Kulichenko Date: Tue, 10 Apr 2018 16:33:03 -0700 Message-ID: Subject: Re: Atomic caches To: dev@ignite.apache.org Content-Type: multipart/alternative; boundary="94eb2c0560c863d145056986f314" --94eb2c0560c863d145056986f314 Content-Type: text/plain; charset="UTF-8" Guys, I also not sure I understand the purpose of methods like [1] that accept instance of AtomicConfiguration to create new atomic structure. Per my knowledge, all atomics are stored in a single cache which is configured by AtomicConfiguration provided on startup as part of IgniteConfiguration. If that's the case, providing another configuration for a particular atomic doesn't make sense because it will never be used. Any thoughts on this? Unless I'm missing something, I think we can deprecate these methods. [1] https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/Ignite.html#atomicLong-java.lang.String-org.apache.ignite.configuration.AtomicConfiguration-long-boolean- -Val On Tue, Apr 10, 2018 at 3:28 PM, Dmitriy Setrakyan wrote: > On Tue, Apr 10, 2018 at 2:03 PM, akurbanov wrote: > > > Dmitry, > > > > Sorry for confusing topic. I I'm pretty sure that configuration for > atomic > > caches is validated, will double-check this. I was referring only atomic > > data structures cache. > > > > Got it. We should definitely add validation for the atomic data structures > configuration as well. > --94eb2c0560c863d145056986f314--