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 0CAB8200BE2 for ; Thu, 15 Dec 2016 21:06:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0B540160B15; Thu, 15 Dec 2016 20:06:05 +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 4EADF160B13 for ; Thu, 15 Dec 2016 21:06:04 +0100 (CET) Received: (qmail 58754 invoked by uid 500); 15 Dec 2016 20:06:03 -0000 Mailing-List: contact reviews-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.apache.org Delivered-To: mailing list reviews@aurora.apache.org Received: (qmail 58723 invoked by uid 99); 15 Dec 2016 20:06:03 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2016 20:06:03 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id C6A892FD6C1; Thu, 15 Dec 2016 20:06:01 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3627943454937202376==" MIME-Version: 1.0 Subject: Re: Review Request 54774: Avoid double writing job updates to the Scheduler Snapshot From: Aurora ReviewBot To: Santhosh Kumar Shanmugham , Joshua Cohen , Zameer Manji Cc: Aurora ReviewBot , David McLaughlin , Aurora Date: Thu, 15 Dec 2016 20:06:01 -0000 Message-ID: <20161215200601.17252.86560@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Aurora ReviewBot X-ReviewGroup: Aurora X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/54774/ X-Sender: Aurora ReviewBot X-ReviewBoard-ShipIt: 1 References: <20161215200417.17252.85572@reviews.apache.org> In-Reply-To: <20161215200417.17252.85572@reviews.apache.org> Reply-To: Aurora ReviewBot X-ReviewRequest-Repository: aurora archived-at: Thu, 15 Dec 2016 20:06:05 -0000 --===============3627943454937202376== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/54774/#review159364 ----------------------------------------------------------- Ship it! Master (8e37d0f) is green with this patch. ./build-support/jenkins/build.sh I will refresh this build result if you post a review containing "@ReviewBot retry" - Aurora ReviewBot On Dec. 15, 2016, 8:04 p.m., David McLaughlin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/54774/ > ----------------------------------------------------------- > > (Updated Dec. 15, 2016, 8:04 p.m.) > > > Review request for Aurora, Joshua Cohen, Santhosh Kumar Shanmugham, and Zameer Manji. > > > Bugs: AURORA-1861 > https://issues.apache.org/jira/browse/AURORA-1861 > > > Repository: aurora > > > Description > ------- > > Motivation: Thanks to the mybatis query metrics we added, we found that double writing Snapshot fields for H2 stores adds considerable overhead to our snapshot creation time. > > Snapshots are also written as backups, and many operators choose to process backups offline for analytics, rather than query the live scheduler (due to not being able to scale reads horizontally). So this allows operators to enable/disable the hydrated fields as needed. > > > Diffs > ----- > > RELEASE-NOTES.md 90c4793b218f54ad92ab4da5049d5e92c3a104b3 > src/main/java/org/apache/aurora/scheduler/storage/backup/TemporaryStorage.java 3fa408e283f91b313633959ea6d2e730d4dc0771 > src/main/java/org/apache/aurora/scheduler/storage/log/LogStorageModule.java 7dcd1bfcf303cf374e9a6627cb6c632ccea098f2 > src/main/java/org/apache/aurora/scheduler/storage/log/SnapshotStoreImpl.java 853780bc68400489578ed3692920aafcec42c999 > src/test/java/org/apache/aurora/scheduler/storage/backup/RecoveryTest.java 7a11850e217dcb0148e4a4d33542c95b2e53a726 > src/test/java/org/apache/aurora/scheduler/storage/log/SnapshotStoreImplIT.java cf0a8f3ea11e9c48d1f16441af54dc781b33bdfc > > Diff: https://reviews.apache.org/r/54774/diff/ > > > Testing > ------- > > ./gradlew test > > Applied this to an internal test cluster with the update hydration disabled and verified snapshots and backups and failover. > > > Thanks, > > David McLaughlin > > --===============3627943454937202376==--