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 01D6E200C3B for ; Sat, 18 Mar 2017 11:55:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EA265160B7F; Sat, 18 Mar 2017 10:55:47 +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 3FDE6160B71 for ; Sat, 18 Mar 2017 11:55:47 +0100 (CET) Received: (qmail 47509 invoked by uid 500); 18 Mar 2017 10:55:46 -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 47500 invoked by uid 99); 18 Mar 2017 10:55:46 -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; Sat, 18 Mar 2017 10:55:46 +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 F06FC1A04ED for ; Sat, 18 Mar 2017 10:55:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.651 X-Spam-Level: X-Spam-Status: No, score=0.651 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id PNcoyI7dC96x for ; Sat, 18 Mar 2017 10:55:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 9DF9F5F297 for ; Sat, 18 Mar 2017 10:55:44 +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 9ECDBE0502 for ; Sat, 18 Mar 2017 10:55:43 +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 49893243A6 for ; Sat, 18 Mar 2017 10:55:42 +0000 (UTC) Date: Sat, 18 Mar 2017 10:55:42 +0000 (UTC) From: "Valentin Kulichenko (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-4812) Disable EventStorageSpi by default MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 18 Mar 2017 10:55:48 -0000 [ https://issues.apache.org/jira/browse/IGNITE-4812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15931180#comment-15931180 ] Valentin Kulichenko commented on IGNITE-4812: --------------------------------------------- Alper, I remember about you and will review as soon as possible. BTW, if PR is ready, ticket should be moved to Patch Available state. > Disable EventStorageSpi by default > ---------------------------------- > > Key: IGNITE-4812 > URL: https://issues.apache.org/jira/browse/IGNITE-4812 > Project: Ignite > Issue Type: Bug > Components: general > Affects Versions: 1.9 > Reporter: Valentin Kulichenko > Assignee: Alper Tekinalp > Fix For: 2.0 > > > Current default implementation of {{EventStorageSpi}} is {{MemoryEventStorageSpi}}. It consumes a lot of memory, while is used only for events querying (i.e. not listening), which is a fairly rare use case. > Need to: > * Introduce {{NoOpEventStorageSpi}}. > * Make {{NoOpEventStorageSpi}} the default one. > * Throw an exception when {{IgniteEvents#localQuery}} or {{#remoteQuery}} method is called with default setting. Exception message should explain how to fix it. -- This message was sent by Atlassian JIRA (v6.3.15#6346)