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 7E2F2200BB8 for ; Thu, 29 Sep 2016 19:14:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 7D284160AE4; Thu, 29 Sep 2016 17:14:23 +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 EFBC3160AE8 for ; Thu, 29 Sep 2016 19:14:22 +0200 (CEST) Received: (qmail 16055 invoked by uid 500); 29 Sep 2016 17:14:21 -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 15900 invoked by uid 99); 29 Sep 2016 17:14:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Sep 2016 17:14:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CE1472C2A65 for ; Thu, 29 Sep 2016 17:14:21 +0000 (UTC) Date: Thu, 29 Sep 2016 17:14:21 +0000 (UTC) From: "Andrew Mashenkov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-3972) Continuous query events could be lost on backup node when primary leaves. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 29 Sep 2016 17:14:23 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3972?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15533367#comment-15533367 ] Andrew Mashenkov commented on IGNITE-3972: ------------------------------------------ I've commited fix affected atomic cache. But we still can loose events in transactional cache. Events can be lost while entry was putting primary node for the entry key left topology. > Continuous query events could be lost on backup node when primary leaves. > ------------------------------------------------------------------------- > > Key: IGNITE-3972 > URL: https://issues.apache.org/jira/browse/IGNITE-3972 > Project: Ignite > Issue Type: Bug > Components: cache > Affects Versions: 1.7 > Reporter: Vladimir Ozerov > Assignee: Andrew Mashenkov > Fix For: 1.8 > > > Consider the following scenario: > 1) One node in topology; > 2) PARTITIONED cache with 1 backup; > 3) Continuous query is set on the cache; > If another node joins the cluster, it will handle some updates. If it leaves the topology, the first node must flush it's own events from backup queue thus ensuring that no events are lost. > But this doesn't happen because {{GridContinuousProcessor.addBackupNotification}} method perform lookup only on remote infos map, while handler is local and hence located in local infos map. -- This message was sent by Atlassian JIRA (v6.3.4#6332)