Return-Path: X-Original-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 08C23CC92 for ; Tue, 14 Aug 2012 01:33:39 +0000 (UTC) Received: (qmail 24931 invoked by uid 500); 14 Aug 2012 01:33:38 -0000 Delivered-To: apmail-incubator-kafka-dev-archive@incubator.apache.org Received: (qmail 24853 invoked by uid 500); 14 Aug 2012 01:33:38 -0000 Mailing-List: contact kafka-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kafka-dev@incubator.apache.org Delivered-To: mailing list kafka-dev@incubator.apache.org Received: (qmail 24845 invoked by uid 99); 14 Aug 2012 01:33:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Aug 2012 01:33:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 434992C5ACC for ; Tue, 14 Aug 2012 01:33:38 +0000 (UTC) Date: Tue, 14 Aug 2012 12:33:38 +1100 (NCT) From: "Joel Koshy (JIRA)" To: kafka-dev@incubator.apache.org Message-ID: <1569463260.5569.1344908018276.JavaMail.jiratomcat@arcas> In-Reply-To: <107606995.59139.1340754104378.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (KAFKA-376) expose different data to fetch requests from the follower replicas and consumer clients 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/KAFKA-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433821#comment-13433821 ] Joel Koshy commented on KAFKA-376: ---------------------------------- Hi Prashanth, the patch didn't apply cleanly for me. Can you svn up? > expose different data to fetch requests from the follower replicas and consumer clients > --------------------------------------------------------------------------------------- > > Key: KAFKA-376 > URL: https://issues.apache.org/jira/browse/KAFKA-376 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 0.8 > Reporter: Jun Rao > Attachments: KAFKA-376-DRAFT.patch, KAFKA-376-v1.patch > > Original Estimate: 168h > Remaining Estimate: 168h > > Currently, the broker always uses highwatermark to calculate the available bytes to a fetch request, no matter where the request is from. Instead, we should use highwatermark for requests coming from real consumer clients and use logendoffset for requests coming from follower replicas. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira