Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A47C17880 for ; Thu, 3 Mar 2016 04:59:18 +0000 (UTC) Received: (qmail 83333 invoked by uid 500); 3 Mar 2016 04:59:18 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 83283 invoked by uid 500); 3 Mar 2016 04:59:18 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 83256 invoked by uid 99); 3 Mar 2016 04:59:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2016 04:59:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 199982C1F56 for ; Thu, 3 Mar 2016 04:59:18 +0000 (UTC) Date: Thu, 3 Mar 2016 04:59:18 +0000 (UTC) From: "Phil Yang (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-15378) Scanner can not handle a heartbeat message with no results MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-15378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15177173#comment-15177173 ] Phil Yang commented on HBASE-15378: ----------------------------------- The patch can be committed to branch-1.1/1.2/1.3/1 and master. Any ideas? Thanks :) > Scanner can not handle a heartbeat message with no results > ---------------------------------------------------------- > > Key: HBASE-15378 > URL: https://issues.apache.org/jira/browse/HBASE-15378 > Project: HBase > Issue Type: Bug > Affects Versions: 1.2.0, 1.1.3 > Reporter: Phil Yang > Assignee: Phil Yang > Priority: Critical > Attachments: HBASE-15378-v1.txt, HBASE-15378-v2.txt, HBASE-15378-v3.txt > > > When a RS scanner get a TIME_LIMIT_REACHED_MID_ROW state, they will stop scanning and send back what it has read to client and mark the message as a heartbeat message. If there is no cell has been read, it will be an empty response. > However, ClientScanner only handles the situation that the client gets an empty heartbeat and its cache is not empty. If the cache is empty too, it will be regarded as end-of-region and open a new scanner for next region. -- This message was sent by Atlassian JIRA (v6.3.4#6332)