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 185E22007D1 for ; Thu, 12 May 2016 23:30:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 17157160939; Thu, 12 May 2016 21:30:13 +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 5FA731602BF for ; Thu, 12 May 2016 23:30:12 +0200 (CEST) Received: (qmail 73903 invoked by uid 500); 12 May 2016 21:30:11 -0000 Mailing-List: contact dev-help@tephra.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tephra.incubator.apache.org Delivered-To: mailing list dev@tephra.incubator.apache.org Received: (qmail 73859 invoked by uid 99); 12 May 2016 21:30:11 -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; Thu, 12 May 2016 21:30:11 +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 D02F4C1C21 for ; Thu, 12 May 2016 21:30:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id g22IZMOoC6wf for ; Thu, 12 May 2016 21:30:10 +0000 (UTC) Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com [209.85.213.48]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id ABC355F478 for ; Thu, 12 May 2016 21:30:09 +0000 (UTC) Received: by mail-vk0-f48.google.com with SMTP id f66so114632322vkh.2 for ; Thu, 12 May 2016 14:30:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=PM3Lp59ObXyWfY6PQxGKZixx408KoVBk+J827r4Jrj0=; b=e7eYsThLeCFq6lauNgqyTVsL+JV1Xkp7KHYETJKeQbqbtyoRPQ4uq5XgqYuN9TJ8+k bPZoo3CF8XsmfLS+d4hNmIALmJUfCYyH0tpwAtbCnVQPKpGxICU0QMigtHMSfw/M7gjt CTyGOVQw3zSUFmCjkWbEYu1QnjX/3BGWPAWcTx1+8JIkWyWfS8XqLN3C4UK1P8/dK66c WlWmkfClV1mQacqGBeHFIdgRQUmRSmBd3kqAsSqknk0oZ559rERBzhDpAV1SPFAa+VRr gzbywsX9J7NWc4IZm7Zq/5yMgjbLnPLokeOAhiSMoGoUZelxWr7RMbnAJz5X79DMc8Le 9cDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=PM3Lp59ObXyWfY6PQxGKZixx408KoVBk+J827r4Jrj0=; b=HsPHsHRZYAz5cVwllio2gT50C8m9qre07iQ8ZBDnUYQDqv6naB0y/uVIPeobijwS6W Zmn0GzrjFYjhkjuMxMzpO263751PkOqUZQL/NcQQrkPCRGNGphmLVIuu0fNQ81F9hghe o1OAUm6ZL/2g5pJhdmI/+G+o7jPvC2/LlVNNqL+PjWRVR+c0EGJ2s64kfG81RWYIDVY8 U5zu1rhsOST8Z1llfso1V+ihVNWDXTcQtBWyGylSk1x275H189lvxn6rCPiENl1q3IU+ kuKDA+WqMB9dGzDKB5ue95tl7CrrA7KOw0zPNKl2NT1k2C9YqRD0c6QAYIi+2afm2gNC jm8A== X-Gm-Message-State: AOPr4FVjoeKABJrS74YLMGv6N+OKiA5wToZOHQVd4+v5Nr1rPzt32P36vPxec5qAOXOJ6sSAxRoVoSTGFGaZQg== X-Received: by 10.176.6.135 with SMTP id g7mr6033075uag.100.1463088608751; Thu, 12 May 2016 14:30:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.3.15 with HTTP; Thu, 12 May 2016 14:29:49 -0700 (PDT) From: Gokul Gunasekaran Date: Thu, 12 May 2016 14:29:49 -0700 Message-ID: Subject: Please review backward compatibility changes To: dev@tephra.incubator.apache.org Content-Type: multipart/alternative; boundary=94eb2c047d78ccb6830532abdc4e archived-at: Thu, 12 May 2016 21:30:13 -0000 --94eb2c047d78ccb6830532abdc4e Content-Type: text/plain; charset=UTF-8 Hi, I have copied couple of classes related to TransactionEdit which has the old cask package name for backward compatibility. I have also bumped up the TransactionLog current version to 3 which represents logs written with the new apache package names. And the previous versions are expected to be written with the old cask package names. Now the previous TransactionLogReaders expect the old cask package names and they convert it to new TransactionEdit (with apache package name) when they return the read object. Also enhanced the unit test to make sure we can read the new TransactionEdits (apache package) from logs written with old versions - 1, 2 (cask package) as well as new version 3 (apache package). The old classes, as discussed before, will be removed in the upcoming releases. Please review commit: https://git1-us-west.apache.org/repos/asf?p=incubator-tephra.git;a=commit;h=afe31fb6 Thanks, Gokul --94eb2c047d78ccb6830532abdc4e--