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 9B705200C82 for ; Sat, 13 May 2017 02:37:11 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 99FC9160BB8; Sat, 13 May 2017 00:37:11 +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 DC26B160BC8 for ; Sat, 13 May 2017 02:37:10 +0200 (CEST) Received: (qmail 62292 invoked by uid 500); 13 May 2017 00:37:10 -0000 Mailing-List: contact dev-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 dev@geode.apache.org Received: (qmail 62281 invoked by uid 99); 13 May 2017 00:37:10 -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, 13 May 2017 00:37:10 +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 73B5C1A7B67 for ; Sat, 13 May 2017 00:37:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -98.952 X-Spam-Level: X-Spam-Status: No, score=-98.952 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LOTSOFHASH=0.25, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] 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 S9vu0yhAmusc for ; Sat, 13 May 2017 00:37:08 +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 5E3CD60DFF for ; Sat, 13 May 2017 00:37:07 +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 0A45CE0DB2 for ; Sat, 13 May 2017 00:37:06 +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 3F74024355 for ; Sat, 13 May 2017 00:37:05 +0000 (UTC) Date: Sat, 13 May 2017 00:37:05 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: dev@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-2900) BucketRegionQueue transitions from primary/secondary/primary can lead to events lingering in queue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sat, 13 May 2017 00:37:11 -0000 [ https://issues.apache.org/jira/browse/GEODE-2900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16008992#comment-16008992 ] ASF subversion and git services commented on GEODE-2900: -------------------------------------------------------- Commit 3c55bd7fafcec99a1d8f3fa297a01b0343f6bf5f in geode's branch refs/heads/feature/GEODE-2900 from [~huynhja] [ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=3c55bd7 ] commit ef5f9a09822eb9a0cd207c8ef183587654beacd8 Merge: 4ad543d 1252cae Author: Jason Huynh Date: Fri May 12 16:32:23 2017 -0700 Merge branch 'develop' into feature/GEODE-2900 commit 4ad543d600da57185cee5c6714df876d83f751c7 Author: Jason Huynh Date: Fri May 12 16:24:05 2017 -0700 Fix for NPE with stateflush commit b95ed3c9d1226b5acf3afc5b3261da29230151eb Author: Jason Huynh Date: Fri May 12 15:18:35 2017 -0700 Fixing failing test commit da95ce199f1ec87e7466c14910411e89a3981e36 Author: Jason Huynh Date: Fri May 12 10:12:46 2017 -0700 StateFlush changes commit 5b37efbd75631b99a24b533b62e5f31d7a2a7b4f Author: Jason Huynh Date: Fri May 12 10:12:35 2017 -0700 NPE check commit bbf016376b76c501f3051521ac46b995f6795781 Author: Jason Huynh Date: Tue May 9 15:29:12 2017 -0700 GEODE-2900: spotlessApply commit 5b4e4330678f9eb49df2e647a9dd0a0f015d8047 Author: Jason Huynh Date: Tue May 9 14:40:42 2017 -0700 GEODE-2900: Renamed method and changed some code comments commit 240b469ff217fbfba39381f196ae3e0e832a69a6 Author: Jason Huynh Date: Tue May 9 10:11:39 2017 -0700 GEODE-2900: push shadow key back into the front of the eventSeqNumber "Queue" > BucketRegionQueue transitions from primary/secondary/primary can lead to events lingering in queue > -------------------------------------------------------------------------------------------------- > > Key: GEODE-2900 > URL: https://issues.apache.org/jira/browse/GEODE-2900 > Project: Geode > Issue Type: Bug > Components: lucene, wan > Reporter: Jason Huynh > Assignee: Jason Huynh > > In this scenario when peek() is called from BucketRegionQueue, a side effect is that the key is removed from the eventSeqNumQueue and an event is placed into the peekedEvents list. > If there is failure dispatching the event, we add the peekedEvents list to a new peekedEvents list. Before doing so, we remove any events that we are not primary for. Now the event is not in the eventSeqNumQueue or the peekedEvents list > If we now become primary (before the other node could dispatch this event), and because we do not have that event in the eventSeqNumQueue or the peekedEvents, it gets "stuck." > This also affects the Lucene implementation. An stuck event can mean incorrectly indexed data or data inconsistencies -- This message was sent by Atlassian JIRA (v6.3.15#6346)