From dev-return-27851-archive-asf-public=cust-asf.ponee.io@geode.apache.org Mon Jan 29 18:00:10 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 8BCBC180654 for ; Mon, 29 Jan 2018 18:00:10 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7B883160C31; Mon, 29 Jan 2018 17:00:10 +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 C26B9160C2C for ; Mon, 29 Jan 2018 18:00:09 +0100 (CET) Received: (qmail 78434 invoked by uid 500); 29 Jan 2018 17:00:08 -0000 Mailing-List: contact dev-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list dev@geode.apache.org Received: (qmail 78418 invoked by uid 99); 29 Jan 2018 17:00:08 -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; Mon, 29 Jan 2018 17:00:08 +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 9A9B6C00D7 for ; Mon, 29 Jan 2018 17:00:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.98 X-Spam-Level: * X-Spam-Status: No, score=1.98 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=pivotal-io.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id AWuy_U2AkCpT for ; Mon, 29 Jan 2018 17:00:02 +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 BCB8160D79 for ; Mon, 29 Jan 2018 17:00:01 +0000 (UTC) Received: by mail-wm0-f48.google.com with SMTP id f3so35098645wmc.1 for ; Mon, 29 Jan 2018 09:00:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pivotal-io.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=nnJZ0JWC0G+NNnBDVyGzq2sf71bFclPrX4pTjinF7To=; b=q0cuas86hp2/BMuA4efUxasv3wHm6DmCgl6VZAB/HXFbqziZX8dEWpP8FlLt3CXF6b jqXLvy/siEV04OoFACefA6D1CDQHSfeRXGP2MoqTYSjLlOadBNTMzMpBsQUl5PLmN0qI p7fd9OKUoNZYbzWFCUhObZ96JDNcYyXByzwTYvQn7IBTiBbTFrulu8CWGxVtRA2TCCg/ rTKPM9cjLB1rL94JtVbm9UwUxkmwycdPgYMsyOuyr5ImqPUkwX93ahbnRIssmPYCnGXr 4ItlySHufE38DfRlnTWT3BcopiETdLpwb/93xrfLp1pTewMB5GZqAj13JZUVAS/i4RSx 0JcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nnJZ0JWC0G+NNnBDVyGzq2sf71bFclPrX4pTjinF7To=; b=uFu5R9MHdTBKr0jGZcnY19i5wYScJQPlELzCSY4rLHSaYYPVM0fOdx1/MJN192yr7W N+iY2P2zJh3ZoVDVYl4V5+DWI1gGyMFaZ5Kz+tfiVFD5hiOUf0mfOruVNXNdefKuJ+G6 AzLhwjq+pftSSbzTkjUWUaOE+dnfNQA2ZKQAK772O/KKCoufwOse2dAUqI6vT+05OrKv 9/sc+BxCxCw6rUDjWbOBwgfdq7VhN2V33ztFl4j9OwQyPT4BcqRfZtpZm23/EaPQR7Ls SbvvCIY0xzVYkfK4764/AoLm6s/IYbSMTrSfhUHXkee3xRqzEH+lv9OURokKVyylxfu0 mM9Q== X-Gm-Message-State: AKwxyteeNTn0tDxlPwc1rvDdJJ/FM1cY/522iqjLGPR4GEeahg2uiJi5 hELfUtRSeKyjGUwwP/khgvtaFuEWScyon2xqGXppPQ== X-Google-Smtp-Source: AH8x224qyuXzkmBh1Ttjh3t1YhXPhoQjNWTJSrrIrWe6qd99uhgeuf2jKVD/4tlBswnbjbPdI87NEVob9lejFtNOdRc= X-Received: by 10.28.192.24 with SMTP id q24mr19408027wmf.96.1517245200463; Mon, 29 Jan 2018 09:00:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.145.17 with HTTP; Mon, 29 Jan 2018 08:59:59 -0800 (PST) From: Jinmei Liao Date: Mon, 29 Jan 2018 08:59:59 -0800 Message-ID: Subject: upgrading a DataSerializable To: geode Content-Type: multipart/alternative; boundary="089e083147843627630563ed2d49" --089e083147843627630563ed2d49 Content-Type: text/plain; charset="UTF-8" I would like to change the ExpirationAction to a true Enum object, but this class is used by ExpirationAttributes which is a DataSerializable, and making the change fails the rolling upgrade tests. Anyone knows a good example that I can follow to update a DataSerializable object? Specifically, how do I implement the fromData and toData call? Thanks! -- Cheers Jinmei --089e083147843627630563ed2d49--