Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 14C22200CB6 for ; Thu, 29 Jun 2017 11:58:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 139B7160BDF; Thu, 29 Jun 2017 09:58:06 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3070F160BF7 for ; Thu, 29 Jun 2017 11:58:05 +0200 (CEST) Received: (qmail 66796 invoked by uid 500); 29 Jun 2017 09:58:04 -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 66786 invoked by uid 99); 29 Jun 2017 09:58:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Jun 2017 09:58:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 04F47CD534 for ; Thu, 29 Jun 2017 09:58:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.21 X-Spam-Level: X-Spam-Status: No, score=-99.21 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id NAWnJGWSLoIi for ; Thu, 29 Jun 2017 09:58:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E284D5F30B for ; Thu, 29 Jun 2017 09:58:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4A144E0D57 for ; Thu, 29 Jun 2017 09:58:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 20ED6245B0 for ; Thu, 29 Jun 2017 09:58:00 +0000 (UTC) Date: Thu, 29 Jun 2017 09:58:00 +0000 (UTC) From: "Sergey Chugunov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (IGNITE-5202) Default mem policy name is not changed after setting defaultMemoryPolicyName property MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 29 Jun 2017 09:58:06 -0000 [ https://issues.apache.org/jira/browse/IGNITE-5202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006438#comment-16006438 ] Sergey Chugunov edited comment on IGNITE-5202 at 6/29/17 9:57 AM: ------------------------------------------------------------------ I lowered priority of the bug to Minor because it turned out that there were some flaws in cache configuration logging causing incorrect messages to appear in logs. MemoryPolicy functionality is fine and works as expected. was (Author: sergey-chugunov): I lowered priority of the bug to Minor because it turned out that there were some flaws in cache configuration logging caused incorrect messages to appear in logs. MemoryPolicy functionality is fine and works as expected. > Default mem policy name is not changed after setting defaultMemoryPolicyName property > ------------------------------------------------------------------------------------- > > Key: IGNITE-5202 > URL: https://issues.apache.org/jira/browse/IGNITE-5202 > Project: Ignite > Issue Type: Bug > Affects Versions: 2.0 > Reporter: Ksenia Rybakova > Assignee: Sergey Chugunov > Priority: Minor > Fix For: 2.1 > > > Default mem policy name is not changed after setting defaultMemoryPolicyName property. > Config: > {noformat} > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> > > > > > > ... > > > > > > > > > > > {noformat} > {noformat} > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> > > ... > > > ... > > > ... > > > > > > > > > > > > ... > > {noformat} > According to this config default memory policy should be "default2", but it remains "default" (while SystemCacheInitialSize was changed successfully to 50Mb as it's set in config). > {noformat} > [12:48:12,226][INFO ][main][IgniteKernal] System cache's MemoryPolicy size is configured to 50 MB. Use MemoryConfiguration.systemCacheMemorySize property to change the setting. > [12:48:12,226][INFO ][main][IgniteKernal] Configured caches [in 'default' memoryPolicy: ['ignite-sys-cache', 'ignite-atomics-sys-cache', 'atomic-part', 'atomic-rplc', 'atomic-part-fat-values', 'atomic-part-onheap-evict-fifo', 'atomic-rplc-onheap-evict-lru', 'tx-part', 'tx-rplc', 'tx-part-fat-values', 'compute', 'tx-part-onheap-evict-lru', 'tx-rplc-onheap-evict-fifo', 'atomic-index', 'query', 'orgCache']] > {noformat} > Also it would be nice to have default policy name instead of "null" in logs when printing caches info: > {noformat} > <12:48:12>
Cache configured with the following parameters: CacheConfiguration [name=atomic-part, memPlcName=null, storeConcurrentLoadAllThreshold=5, ... > {noformat} > {noformat} > [12:48:13,239][INFO ][main][GridCacheProcessor] Started cache [name=atomic-part, memoryPolicyName=null, mode=PARTITIONED] > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)