Return-Path: X-Original-To: apmail-mesos-reviews-archive@minotaur.apache.org Delivered-To: apmail-mesos-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 2EB52172C0 for ; Thu, 18 Jun 2015 17:27:22 +0000 (UTC) Received: (qmail 88613 invoked by uid 500); 18 Jun 2015 17:27:22 -0000 Delivered-To: apmail-mesos-reviews-archive@mesos.apache.org Received: (qmail 88585 invoked by uid 500); 18 Jun 2015 17:27:22 -0000 Mailing-List: contact reviews-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: reviews@mesos.apache.org Delivered-To: mailing list reviews@mesos.apache.org Received: (qmail 88570 invoked by uid 99); 18 Jun 2015 17:27:21 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2015 17:27:21 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 51A80AD276; Thu, 18 Jun 2015 17:27:21 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6735737441928486124==" MIME-Version: 1.0 Subject: Re: Review Request 35433: Send StatusUpdates if checkpointed resources don't exist on the slave. From: "Jie Yu" To: "Benjamin Hindman" , "Alexander Rukletsov" , "Jie Yu" Cc: "mesos" , "Michael Park" Date: Thu, 18 Jun 2015 17:27:21 -0000 Message-ID: <20150618172721.1515.52656@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Jie Yu" X-ReviewGroup: mesos X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/35433/ X-Sender: "Jie Yu" References: <20150618170513.1512.92486@reviews.apache.org> In-Reply-To: <20150618170513.1512.92486@reviews.apache.org> Reply-To: "Jie Yu" X-ReviewRequest-Repository: mesos --===============6735737441928486124== 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/35433/#review88406 ----------------------------------------------------------- src/slave/slave.cpp (lines 1403 - 1421) Hum, are you sending multiple status update if there are multiple 'resource's in 'checkpointedTaskResources'? src/slave/slave.cpp (line 1409) Have we decided to not capture temp variable by const ref? Maybe you want to do a sweep to fix that in this file? src/slave/slave.cpp (lines 1428 - 1450) Ditto here. - Jie Yu On June 18, 2015, 5:05 p.m., Michael Park wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/35433/ > ----------------------------------------------------------- > > (Updated June 18, 2015, 5:05 p.m.) > > > Review request for mesos, Alexander Rukletsov, Benjamin Hindman, and Jie Yu. > > > Repository: mesos > > > Description > ------- > > No bug was observed (yet), but realized I forgot about this in the dynamic reservations patches. > > > Diffs > ----- > > src/slave/slave.cpp a5ad29f59fadba919ed82ba2892c2febe551660b > > Diff: https://reviews.apache.org/r/35433/diff/ > > > Testing > ------- > > `make check` > > > Thanks, > > Michael Park > > --===============6735737441928486124==--