Return-Path: X-Original-To: apmail-aurora-reviews-archive@minotaur.apache.org Delivered-To: apmail-aurora-reviews-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5794A112A1 for ; Tue, 13 May 2014 22:32:51 +0000 (UTC) Received: (qmail 57684 invoked by uid 500); 13 May 2014 22:32:51 -0000 Delivered-To: apmail-aurora-reviews-archive@aurora.apache.org Received: (qmail 57644 invoked by uid 500); 13 May 2014 22:32:51 -0000 Mailing-List: contact reviews-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@aurora.incubator.apache.org Delivered-To: mailing list reviews@aurora.incubator.apache.org Received: (qmail 57636 invoked by uid 99); 13 May 2014 22:32:51 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2014 22:32:51 +0000 X-ASF-Spam-Status: No, hits=-1997.8 required=5.0 tests=ALL_TRUSTED,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 13 May 2014 22:32:50 +0000 Received: (qmail 55451 invoked by uid 99); 13 May 2014 22:32:25 -0000 Received: from Unknown (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 May 2014 22:32:25 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 9FB431D78C6; Tue, 13 May 2014 22:32:13 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8371134528517934217==" MIME-Version: 1.0 Subject: Re: Review Request 21297: Adding UpdateConfig value checks. From: "Maxim Khutornenko" To: "Brian Wickman" Cc: "Aurora" , "Maxim Khutornenko" Date: Tue, 13 May 2014 22:32:13 -0000 Message-ID: <20140513223213.634.95104@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Maxim Khutornenko" X-ReviewGroup: Aurora X-ReviewRequest-URL: https://reviews.apache.org/r/21297/ X-Sender: "Maxim Khutornenko" References: <20140513211952.6702.72615@reviews.apache.org> In-Reply-To: <20140513211952.6702.72615@reviews.apache.org> Reply-To: "Maxim Khutornenko" X-ReviewRequest-Repository: aurora X-Virus-Checked: Checked by ClamAV on apache.org --===============8371134528517934217== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit > On May 13, 2014, 9:19 p.m., Brian Wickman wrote: > > src/main/python/apache/aurora/client/config.py, line 130 > > > > > > curious if we should be adding a delta here? if we just do watch_secs >= initial_interval_secs, then we'll race with that first health check delivery from the executor -> scheduler -> client. > > > > 5s? not sure. what do you think? I was split on that too. Feels like the primary goal here should be raising awareness rather than giving any guarantees. That said, 5s might be a nice to have safety default to provide. Done. > On May 13, 2014, 9:19 p.m., Brian Wickman wrote: > > src/test/python/apache/aurora/client/test_config.py, line 178 > > > > > > 2 newlines between top level tests Done. - Maxim ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/21297/#review42887 ----------------------------------------------------------- On May 10, 2014, 1:15 a.m., Maxim Khutornenko wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/21297/ > ----------------------------------------------------------- > > (Updated May 10, 2014, 1:15 a.m.) > > > Review request for Aurora and Brian Wickman. > > > Bugs: AURORA-404 > https://issues.apache.org/jira/browse/AURORA-404 > > > Repository: aurora > > > Description > ------- > > Adding checks for watch_secs, initial_interval_secs and restart_threshold. > > > Diffs > ----- > > src/main/python/apache/aurora/client/config.py 350d84c97fac9f1dd834bf509a160faaacb26386 > src/main/python/apache/aurora/config/__init__.py 74e6b21ef905221cb3beb974a540325937480f2e > src/main/python/apache/aurora/config/schema/base.py 61a6680f8b1a463055ccd6d318cc540aca166684 > src/test/python/apache/aurora/client/cli/util.py e17f256fc5d17f251e8f2cb4d94233d2d6c09897 > src/test/python/apache/aurora/client/commands/util.py c28096fe89c9af6d5518bc0f8f871e886ca12e7f > src/test/python/apache/aurora/client/test_config.py 8ef08685c317c3f9dae799dfb6bdced7077a8778 > > Diff: https://reviews.apache.org/r/21297/diff/ > > > Testing > ------- > > ./pants src/test/python:all > > > Thanks, > > Maxim Khutornenko > > --===============8371134528517934217==--