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 9FA79200C64 for ; Fri, 28 Apr 2017 17:10:54 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9E44E160BA3; Fri, 28 Apr 2017 15:10:54 +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 E5CAA160B8C for ; Fri, 28 Apr 2017 17:10:53 +0200 (CEST) Received: (qmail 81295 invoked by uid 500); 28 Apr 2017 15:10:51 -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 80829 invoked by uid 99); 28 Apr 2017 15:10:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Apr 2017 15:10:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 691CBC028D for ; Fri, 28 Apr 2017 15:10:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.636 X-Spam-Level: X-Spam-Status: No, score=-0.636 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01] autolearn=disabled Authentication-Results: spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id XYzEoKtGTyKf for ; Fri, 28 Apr 2017 15:10:48 +0000 (UTC) Received: from mail-pg0-f48.google.com (mail-pg0-f48.google.com [74.125.83.48]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 705345FBBB for ; Fri, 28 Apr 2017 15:10:47 +0000 (UTC) Received: by mail-pg0-f48.google.com with SMTP id v1so16329418pgv.1 for ; Fri, 28 Apr 2017 08:10:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :references:in-reply-to:to; bh=lTz+QyQN8h55KJ8aBvmRpdjjOlXoRgBvKa5PwlwkSv4=; b=Kf/AG8ooNg7KwHMtMSJ5VkDIV9cCLUEyjlwnLFptnsrTDJnaPU74Pk6ow8pd+/w2tQ UA43K3nefEoicX/qM/4PgD7w1qvStILcn0uOuaVlVFyb5cQMQji94doUMs5bNT4MuR+1 WtbZhpW1B8oTT0Yn7De6pkcmv7vUuzbRr3xr1c1WyAFPgN3t4uSu6uNcmK9wTQhQdw0D +1aIecseNilM2/jo0Iob9m1kRlczjw5W36k799v3KFIvHeUZDIBF8TTX6OOku7xqu6WQ 5FHtZKVuTrXDTIQtUs9eQj4q08yRd8Mv0n+Qrsw2frW4cYEs3AvPIzxwV/LwmMNogtt8 eiOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:message-id:references:in-reply-to:to; bh=lTz+QyQN8h55KJ8aBvmRpdjjOlXoRgBvKa5PwlwkSv4=; b=GfTJ4UFJO5Fim/nRdt9/B7mDJ7E7TUSVOp7RtGj7uv8d9X0zRpXruekiTPPSYrwd+R Lq5w9CXnf/tF5OB9Y9n+kLKrUkE9aQN3CRvdrGXL9pxcAwPCNT95DfJcQ6JUEoxXbeVE g9FA8A6t5o0DUWbn+ro6sfoNVar0cIpP/mMqaDt8cFBjfJ+uqnELxZkRK5Gk2/hbT7Xr ZlxIZp0GcO/hwnP1lINy2QamIBdB1KZmgbh31E4lViWQnssZUS/Mqjh+E0oVQFCnDicE dxyB3/vyYz4AUciGKDqyc/TSa4cOIVrAYBhW+e2kMVcef5lbScBq5cM10jgA0MR7V9RZ h5Bw== X-Gm-Message-State: AN3rC/4o5dYLp6Wu5oT70eQosNBNmRkq6njVqtJvUR4krqrRCbP8MTSK rlqgDIf8hCUYwM/0AXI= X-Received: by 10.84.129.131 with SMTP id b3mr16005545plb.1.1493392245720; Fri, 28 Apr 2017 08:10:45 -0700 (PDT) Received: from [100.103.116.74] ([223.176.214.109]) by smtp.gmail.com with ESMTPSA id r90sm10847700pfl.120.2017.04.28.08.10.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Apr 2017 08:10:44 -0700 (PDT) From: Ashish Content-Type: multipart/alternative; boundary=Apple-Mail-FBEE54BD-6E6A-410A-8795-64EFF5894C6C Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Date: Fri, 28 Apr 2017 20:40:40 +0530 Subject: Re: [jira] [Commented] (KAFKA-4379) Remove caching of dirty and removedkeys from StoreChangeLogger Message-Id: <0280A67B-578B-4F8F-847D-06C2264E7850@gmail.com> References: <1493096559187.1316628015@boxbe> In-Reply-To: <1493096559187.1316628015@boxbe> To: dev@kafka.apache.org X-Mailer: iPhone Mail (14E304) archived-at: Fri, 28 Apr 2017 15:10:54 -0000 --Apple-Mail-FBEE54BD-6E6A-410A-8795-64EFF5894C6C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Bc Sent from my iPhone B > On 25-Apr-2017, at 10:21, ASF GitHub Bot (JIRA) wrote: >=20 > This message is eligible for Automatic Cleanup! (jira@apache.org) Add c= leanup rule | More info=20 >=20 > [ https://issues.apache.org/jira/browse/KAFKA-4379?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D15982= 362#comment-15982362 ]=20 >=20 > ASF GitHub Bot commented on KAFKA-4379: > --------------------------------------- >=20 > GitHub user guozhangwang opened a pull request: >=20 > https://github.com/apache/kafka/pull/2908 >=20 > KAFKA-4379 Followup: Remove eviction listener from InMemoryLRUCache >=20 >=20 >=20 > You can merge this pull request into a Git repository by running: >=20 > $ git pull https://github.com/guozhangwang/kafka K4379-remove-listener >=20 > Alternatively you can review and apply these changes as the patch at: >=20 > https://github.com/apache/kafka/pull/2908.patch >=20 > To close this pull request, make a commit to your master/trunk branch > with (at least) the following in the commit message: >=20 > This closesv #2908 >=20 > ---- > commit 44e1cea3a300b0e05e9574284260b774b852cb4e > Author: Guozhang Wang > Date: 2017-04-25T02:07:23Z >=20 > remove eviction listener > C > commit 6343783ec2ffc907ad2b1d25cd764a6e52acc299 > Author: Guozhang Wang Date: 2017-04-25T04:50:02Z >=20 > fix unit test >=20 > ---- >=20 >=20 >> Remove caching of dirty and removed keys from StoreChangeLoggerpc >> --------------------------------------------------------------- >>=20 >> Key: KAFKA-4379 >> URL: https://issues.apache.org/jira/browse/KAFKA-4379 >> Project: Kafka >> Issue Type: Improvement >> Components: streams >> Affects Versions: 0.10.1.0 >> Reporter: Damian Guy >> Assignee: Damian Guy >> Priority: Minor >> Fix For: 0.10.1.1, 0.10.2.0 >>=20 >>=20 >> The StoreChangeLogger currently keeps a cache of dirty and removed keys a= nd will batch the changelog records such that we don't send a record for eac= h update. However, with KIP-63 this is unnecessary as the batching and de-du= ping is done by the caching layer. Further, the StoreChangeLogger relies on c= ontext.timestamp() which is likely to be incorrect when caching is enabled >=20 >=20 >=20 > -- > This message was sent by Atlassian JIRA > (v6.3.15#6346) --Apple-Mail-FBEE54BD-6E6A-410A-8795-64EFF5894C6C--