Return-Path: X-Original-To: apmail-ignite-issues-archive@minotaur.apache.org Delivered-To: apmail-ignite-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6422618540 for ; Wed, 25 Nov 2015 08:31:12 +0000 (UTC) Received: (qmail 49870 invoked by uid 500); 25 Nov 2015 08:31:11 -0000 Delivered-To: apmail-ignite-issues-archive@ignite.apache.org Received: (qmail 49740 invoked by uid 500); 25 Nov 2015 08:31:11 -0000 Mailing-List: contact issues-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 issues@ignite.apache.org Received: (qmail 49518 invoked by uid 99); 25 Nov 2015 08:31:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Nov 2015 08:31:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 32E8C2C1F69 for ; Wed, 25 Nov 2015 08:31:11 +0000 (UTC) Date: Wed, 25 Nov 2015 08:31:11 +0000 (UTC) From: "Denis Magda (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-1544) Make sure objects number stored in a cache can be bigger than Integer.MAX_VALUE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15026415#comment-15026415 ] Denis Magda commented on IGNITE-1544: ------------------------------------- Andrey, I have the following comments so far: 1. Let's go further and remove {{GridCacheAdapter.primarySize()}} or make it return {{long}} by default. Since it's the internal API I don't see any reason why we need to introduce {{primarySizeLong}} counterpart; 2. {{GridCacheAdapter.sizeAsync}} and {{GridCacheAdapter.sizeLongAsync}} method's implementation body is the same. The only difference is that one uses {{SizeTask}} while the other - {{SizeLongTask}}. I suggest moving common part of the implementations in a special private method which will accept a size task as a parameter. 3. In the newly added java docs there is the sentence like this - "Gets the number of all entries cached on this node as a long". Please end such sentences with "as a long value" instead. > Make sure objects number stored in a cache can be bigger than Integer.MAX_VALUE > ------------------------------------------------------------------------------- > > Key: IGNITE-1544 > URL: https://issues.apache.org/jira/browse/IGNITE-1544 > Project: Ignite > Issue Type: Bug > Components: cache > Affects Versions: ignite-1.4 > Reporter: Denis Magda > Assignee: Denis Magda > Priority: Critical > Fix For: 1.5 > > > Make sure that a cache (partitioned) can actually hold number of objects bigger than {{Integer.MAX_VALUE}}. Because {{Integer.MAX_VALUE}} is not enough for some life use cases and business domains. > At least the following should be done: > - IgniteCache must return cache size as a {{long}} value; > - Make sure (make a test) that a partitioned cache can store number of objects much bigger than {{Integer.MAX_VALUE}}; > - find and edit info regarding this limitation. -- This message was sent by Atlassian JIRA (v6.3.4#6332)