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 BA8E7200D15 for ; Thu, 5 Oct 2017 21:06:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B9A761609E2; Thu, 5 Oct 2017 19:06:49 +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 0BA931609D2 for ; Thu, 5 Oct 2017 21:06:48 +0200 (CEST) Received: (qmail 76706 invoked by uid 500); 5 Oct 2017 19:06:47 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 76680 invoked by uid 99); 5 Oct 2017 19:06:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Oct 2017 19:06:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C17DB180C1F for ; Thu, 5 Oct 2017 19:06:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id XMZGffRGe2XE for ; Thu, 5 Oct 2017 19:06:45 +0000 (UTC) Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id A85F55FBEE for ; Thu, 5 Oct 2017 19:06:45 +0000 (UTC) Received: by mail-wm0-f48.google.com with SMTP id b189so3827888wmd.4 for ; Thu, 05 Oct 2017 12:06:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=jPpRobM/qqd+zbjO/+tD6ptapuzdXZcy3hrykx4R5IQ=; b=K8UIU185xQytMumfg1YlJHycNbWq+HVXpgRmcGhQv+LFiFMXngRACYcPYwFKosCnad EppJArhLEoOjzMEHbX45uLTIUB2tvf5axZEBSdYC3eW9uiD5/v2rf8Ks8cHhqD2PeywW oHQ1rYXnCBcdQHWuI11r3zErGWb9xm39IxoNGtNigrLGimpzBYZM7K6Ixz2ekPV+pahq uLp44bVSomPufAK3AxQR9Pyowgqc5zWeEnIy5fUJkQaVwGkdPXiX2bACjFvexCVw9EvE gX13TQOop5z6fGP4cQLZuRl88wLPSVNLhqiBPdN4TfC2DuZaIjDKh3/MQKrsUkSPq1hx pzYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=jPpRobM/qqd+zbjO/+tD6ptapuzdXZcy3hrykx4R5IQ=; b=mLXXaP5bPpLuCmLZIsuG3ZFX7xwht8fzqHe6hgTQrQdl3blFJKnwAeS9UuORgLBrxp 1cGfcyVt/09dN4Jgzq0N18ZwSl9UYF0JR5TPZu5ceI/WFjFKg1EOKeqV5W8O0wLmQt6J 1vv16K0f4wUYQX1OPEBV1M2N4gSG6s8CSPIqTy66sUz9tZxQb2D+pdZDoR9dG9ZGHesM qKU/l+3a4x/kwk1kyDXFqM+/OXU5CqZwMuCJBjpyw+aR1CmFD2cZXIdjSjSYL670XArZ 9G++NP/JcPXsjTiA7o3tz+dzPU9LevjsbOfkJ65dQsYJ5JfDucq70ok8AkVElsP57JLI Imaw== X-Gm-Message-State: AMCzsaV1nmI2I0+DcuAQHhuc6fHSQZ2HGFGess+IJLPpe6Ehejp87CNe NJRkL5fl2cL4wE5HIwiAwW5lh/RCC0E8tFMfFhpJVzdh X-Google-Smtp-Source: AOwi7QCsXaLTQNEDxwhTh6TaZuDuPxnOvMsNcWNcYRSaSphbEjF0vV8SoyVhCe+PgSWiWQd2a4Day0PYBgtV1YwVw+I= X-Received: by 10.80.169.53 with SMTP id l50mr133255edc.67.1507230404449; Thu, 05 Oct 2017 12:06:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.172.65 with HTTP; Thu, 5 Oct 2017 12:06:43 -0700 (PDT) In-Reply-To: <1507227800.3565385.1129221736.0A6C8C7F@webmail.messagingengine.com> References: <1507227800.3565385.1129221736.0A6C8C7F@webmail.messagingengine.com> From: Tom Bentley Date: Thu, 5 Oct 2017 20:06:43 +0100 Message-ID: Subject: Re: [DISCUSS] KIP-207: Offsets returned by ListOffsetsResponse should be monotonically increasing even during a partition leader change To: dev@kafka.apache.org Content-Type: multipart/alternative; boundary="94eb2c0c38aeda1a70055ad16c54" archived-at: Thu, 05 Oct 2017 19:06:49 -0000 --94eb2c0c38aeda1a70055ad16c54 Content-Type: text/plain; charset="UTF-8" Hi Colin, Is it really true that "the period when the offset is unavailable should be brief"? I'm thinking about a producer with acks=1, so the old leader returns the ProduceResponse immediately and then is replaced before it can sent a FetchResponse to any followers. The new leader is then waiting for more messages from producers in order for its high watermark to increase (because it's log doesn't have the original messages in, so its HW can't catch up with this). This wait could be be arbitrarily long. I rather suspect this isn't a problem really and that I misunderstand the precise details of the protocol, but it would be beneficial to me to discover my misconceptions. Thanks, Tom On 5 October 2017 at 19:23, Colin McCabe wrote: > Hi all, > > I created a KIP for discussion about fixing a corner case in > ListOffsetsResponse. Check it out at: > https://cwiki.apache.org/confluence/display/KAFKA/KIP- > 207%3A+Offsets+returned+by+ListOffsetsResponse+should+be+ > monotonically+increasing+even+during+a+partition+leader+change > > cheers, > Colin > --94eb2c0c38aeda1a70055ad16c54--