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 66E33200C8E for ; Thu, 8 Jun 2017 20:30:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 65991160BE8; Thu, 8 Jun 2017 18:30:22 +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 B4127160BC3 for ; Thu, 8 Jun 2017 20:30:21 +0200 (CEST) Received: (qmail 24011 invoked by uid 500); 8 Jun 2017 18:30:20 -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 24002 invoked by uid 99); 8 Jun 2017 18:30:20 -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; Thu, 08 Jun 2017 18:30:20 +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 8F96A1A046C for ; Thu, 8 Jun 2017 18:30:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id aPPXYOWQZjnN for ; Thu, 8 Jun 2017 18:30:19 +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 9E7245F6D2 for ; Thu, 8 Jun 2017 18:30:19 +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 13663E0D95 for ; Thu, 8 Jun 2017 18:30:19 +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 71B5C21E12 for ; Thu, 8 Jun 2017 18:30:18 +0000 (UTC) Date: Thu, 8 Jun 2017 18:30:18 +0000 (UTC) From: "xiaojian zhou (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (GEODE-3055) waitUntilFlush did not check the brq's tempQueue, which caused data mismatch MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 08 Jun 2017 18:30:22 -0000 xiaojian zhou created GEODE-3055: ------------------------------------ Summary: waitUntilFlush did not check the brq's tempQueue, which caused data mismatch Key: GEODE-3055 URL: https://issues.apache.org/jira/browse/GEODE-3055 Project: Geode Issue Type: Bug Reporter: xiaojian zhou Fix For: 1.2.0 /export/buglogs_bvt/xzhou/lucene/concParRegHAPersist-0601-171739 lucene/concParRegHAPersist.conf A=accessor B=dataStore accessorHosts=1 accessorThreadsPerVM=5 accessorVMsPerHost=1 dataStoreHosts=6 dataStoreThreadsPerVM=5 dataStoreVMsPerHost=1 numVMsToStop=2 redundantCopies=0 no local.conf In dataStoregemfire5_7483/system.log, thread tid=0xdf, putAll Object_11066 17:22:27.135 tid=0xdf] generated tag {v1; rv13 shadowKey=2939 17:22:27.136 _partitionedRegionPARALLELGATEWAYSENDER_QUEUE_1 bucket : null // brq is not ready yet is enqueued to the tempQueue 17:22:27.272 tid=0xdf] generated tag {v3; rv15 shadowKey=3278 17:22:33.111 Subregion created: /_PR/_BAsyncEventQueueindex#partitionedRegionPARALLELGATEWAYSENDER_QUEUE_1 vm_3_dataStore3_r02-s28_28143.log: 17:22:33.120 Put successfully in the queue shadowKey= 2939 17:22:33.156 tid=0x7fe started query 17:22:33.176 Peeked shadowKey= 2939 So the root cause is: the event is still in tempQueue before it's processed, the query happened. WaitUntilFlush should wait until tempQueue is also flushed. -- This message was sent by Atlassian JIRA (v6.3.15#6346)