From dev-return-100746-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Thu Jan 3 23:04:14 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 949C218067A for ; Thu, 3 Jan 2019 23:04:13 +0100 (CET) Received: (qmail 41229 invoked by uid 500); 3 Jan 2019 22:04:12 -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 40726 invoked by uid 99); 3 Jan 2019 22:04:11 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2019 22:04:11 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 1E8A4C24EE for ; Thu, 3 Jan 2019 22:04:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.798 X-Spam-Level: * X-Spam-Status: No, score=1.798 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id iAN-y0Q3xbWx for ; Thu, 3 Jan 2019 22:04:10 +0000 (UTC) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 403395F32E for ; Thu, 3 Jan 2019 21:54:20 +0000 (UTC) Received: by mail-ot1-f48.google.com with SMTP id 81so30609458otj.2 for ; Thu, 03 Jan 2019 13:54:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=5S8Z7zkO1zQzKisOl/YfCHOUnN/paMKbg0RoOIgk24c=; b=fPON5j7eyTCfOwMssNII4eQbF5PVeR2nKQhJEH/GZfrU4/c+S5GLlZrvtNYzNhadxh evU8C6lxx9S/4h8+MvChAlbMrW15YFurc8QHLhT/5WncjdbJJEO5tiVLLy1/MH69GaCF bALnMLG0yqlCpuyuYgD9CFR6T4qmbUApjM1Eqdl6HgDFXc0LKzzm4PVGC7gjrhRR6T1v U3vpV44dqJkABuUAO2rO2x39xBOVND4k0ROCYaJlVYn77eLrE/8GNSfhhPzVabJ6W8H3 WRVwP6qEP7avNdD06VnVqqCcpE8jL9qw2KnO5dkqPj1oJnz/i/Tmw8VM2SSvrTi3WRUP LOKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=5S8Z7zkO1zQzKisOl/YfCHOUnN/paMKbg0RoOIgk24c=; b=Hds89ugjqyrDw2URCxLMAZKF/Rg7XRET8VyKoLHC3DfM5WskbaV3dbQApcrQ9uhIz5 ySkk7LGyaocbHWPTUHbpjpKbnfpfRTQTLG/KRyNBujNWfWABwfIDXLWscJVnLbUmeSY8 NY5zoLT5os4brkuzZzv8AKy66LFDXaYl6OntuyztKQWZWczfLft8RvzWaCbnsLHsb3cc hvPg8VfY3duMqz8cel7mA8NqcnWfUq62P1aOTV4JMZRkylMWK/cHAcXyLUDys14IMqkQ OHPt4IYfl0tIbbqvlCtXjkYwDTXtJvJAYzxCjRw6xhoyr7RWo3gdfdHirLHJcMsn67gk GsCQ== X-Gm-Message-State: AJcUukdxwubJFvE6nKx1PyMEUJNeG3XcrSpdfEXVVkQZfEpTWZdxs8Kz /PQLAqEsE7TUc6L/7UwzkcEPqq1ayE+vc4100nvXfQ== X-Google-Smtp-Source: ALg8bN5o4+7TQNv3fMxezvLhCKDra8e+5grgYJhkO+Kpg49aozelEhsrP2Y7DuWzooVPFy3WjXVLCJDbFNeP5YyC8o0= X-Received: by 2002:a9d:7e6:: with SMTP id 93mr35181377oto.176.1546552458711; Thu, 03 Jan 2019 13:54:18 -0800 (PST) MIME-Version: 1.0 References: <3de0aa15102ff45c3786773fe0e2647702af0f16.camel@gmail.com> In-Reply-To: <3de0aa15102ff45c3786773fe0e2647702af0f16.camel@gmail.com> From: Guozhang Wang Date: Thu, 3 Jan 2019 13:54:07 -0800 Message-ID: Subject: Re: Tests to emulate leader change(investigation of KAFKA-7680) To: dev Content-Type: multipart/alternative; boundary="000000000000ed9898057e94cdd0" --000000000000ed9898057e94cdd0 Content-Type: text/plain; charset="UTF-8" Hello Nikolay, I've left a comment on the ticket. Guozhang On Sun, Dec 23, 2018 at 11:54 PM Nikolay Izhikov wrote: > Hello, Guys. > > I started investigating of KAFKA-7680 [1] > > Jun Rao wrote that this issue can be reproduced with leader change. > > Please, give me the advice. > How can I emulate leader change in tests? > > Do we have some existing tests I can look into? > > [1] https://issues.apache.org/jira/browse/KAFKA-7680 > -- -- Guozhang --000000000000ed9898057e94cdd0--