From issues-return-52446-archive-asf-public=cust-asf.ponee.io@geode.apache.org Fri Aug 16 17:49:05 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 2E34518057A for ; Fri, 16 Aug 2019 19:49:05 +0200 (CEST) Received: (qmail 16169 invoked by uid 500); 16 Aug 2019 17:49:02 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 16099 invoked by uid 99); 16 Aug 2019 17:49:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Aug 2019 17:49:02 +0000 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 60B54E3062 for ; Fri, 16 Aug 2019 17:49: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 D350D277AC for ; Fri, 16 Aug 2019 17:49:00 +0000 (UTC) Date: Fri, 16 Aug 2019 17:49:00 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-7079) NPE Upon Restart When Using Asynchronous Event Distribution & Conflation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GEODE-7079?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1690= 9268#comment-16909268 ]=20 ASF subversion and git services commented on GEODE-7079: -------------------------------------------------------- Commit 6f4bbbd96bcecdb82cf7753ce1dae9fa6baebf9b in geode's branch refs/head= s/feature/GEODE-7066 from Juan Jos=C3=A9 Ramos [ https://gitbox.apache.org/repos/asf?p=3Dgeode.git;h=3D6f4bbbd ] GEODE-7079: Prevent NPE During Queue Conflation (#3911) * GEODE-7079: Prevent NPE During Queue Conflation - Added tests. - Fixed minor warnings. - Use the cached region name when doing conflation instead of the actual re= gion so the processor doesn't need to wait for the actual region to be full= y initialized. Co-authored-by: Benjamin Ross > NPE Upon Restart When Using Asynchronous Event Distribution & Conflation > ------------------------------------------------------------------------ > > Key: GEODE-7079 > URL: https://issues.apache.org/jira/browse/GEODE-7079 > Project: Geode > Issue Type: Bug > Components: wan > Reporter: Juan Jos=C3=A9 Ramos Cassella > Assignee: Juan Jos=C3=A9 Ramos Cassella > Priority: Major > Labels: GeodeCommons > Fix For: 1.11.0 > > Time Spent: 50m > Remaining Estimate: 0h > > The following combination of features cannot be safely configured when us= ing pure Geode Java API: > * Replicated Region. > * Serial Gateway Sender or Serial Asynchronous Event Queue. > * Serial Gateway Sender / Serial Asynchronous Event Queue is Persistent. > * Conflation is Enabled for the Serial Gateway Sender / Serial Asynchrono= us Event Queue. > The problem is that, after a restart, events left-over in the persistent = queue begin processing before their source {{Region}} is instantiated, caus= ing a {{NullPointerExceptions}} while executing the conflation logic. > The {{Region}} is only required because internally we need its name, but = the name itself is already stored within the actual event so it should be s= afe to replace {{gsEvent.getRegion().getFullPath()}} by {{gsEvent.getRegion= ToConflate()}} or {{gsEvent.getRegionPath()}}. -- This message was sent by Atlassian JIRA (v7.6.14#76016)