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 16D79200D30 for ; Mon, 30 Oct 2017 15:34:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 154C0160BE4; Mon, 30 Oct 2017 14:34:06 +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 59E1F1609EF for ; Mon, 30 Oct 2017 15:34:05 +0100 (CET) Received: (qmail 50876 invoked by uid 500); 30 Oct 2017 14:34:04 -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 50857 invoked by uid 99); 30 Oct 2017 14:34:04 -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; Mon, 30 Oct 2017 14:34:04 +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 2E2CECC3C0; Mon, 30 Oct 2017 14:34:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.201 X-Spam-Level: **** X-Spam-Status: No, score=4.201 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, NML_ADSP_CUSTOM_MED=1.2, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-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 yNMmmo8-DeJA; Mon, 30 Oct 2017 14:34:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 42ACC5FD72; Mon, 30 Oct 2017 14:34:02 +0000 (UTC) Received: from reviews.apache.org (unknown [10.41.0.12]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id E4CE9E00B3; Mon, 30 Oct 2017 14:34:01 +0000 (UTC) Received: from reviews-vm2.apache.org (localhost [IPv6:::1]) by reviews.apache.org (ASF Mail Server at reviews-vm2.apache.org) with ESMTP id 3FA36C40A9C; Mon, 30 Oct 2017 14:34:01 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8848597347520653671==" MIME-Version: 1.0 Subject: Re: Review Request 63105: Removed TODOs from storage operation 'apply' handlers. From: Jie Yu To: Benjamin Bannier , Jie Yu Cc: Chun-Hung Hsiao , Jan Schlicht , mesos Date: Mon, 30 Oct 2017 14:34:01 -0000 Message-ID: <20171030143401.50230.51835@reviews-vm2.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/63105/ X-Sender: Jie Yu References: <20171030102528.50427.88977@reviews-vm2.apache.org> In-Reply-To: <20171030102528.50427.88977@reviews-vm2.apache.org> Reply-To: Jie Yu X-ReviewRequest-Repository: mesos archived-at: Mon, 30 Oct 2017 14:34:06 -0000 --===============8848597347520653671== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On Oct. 30, 2017, 10:25 a.m., Benjamin Bannier wrote: > > src/common/resources.cpp > > Lines 1765-1779 (original), 1765-1783 (patched) > > > > > > Can we collapse these now for readabilty?, e.g., > > > > case Offer::Operation::CREATE_VOLUME: > > case Offer::Operation::DESTROY_VOLUME: > > case Offer::Operation::CREATE_BLOCK: > > case Offer::Operation::DESTROY_BLOCK: { > > // These operations do not alter the offered resources. > > break; > > } This will be changed in the following patches. - Jie ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/63105/#review189557 ----------------------------------------------------------- On Oct. 20, 2017, 12:53 p.m., Jan Schlicht wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/63105/ > ----------------------------------------------------------- > > (Updated Oct. 20, 2017, 12:53 p.m.) > > > Review request for mesos, Benjamin Bannier and Jie Yu. > > > Bugs: MESOS-7594 > https://issues.apache.org/jira/browse/MESOS-7594 > > > Repository: mesos > > > Description > ------- > > These operations don't alter the offered resources immediately. > Only after operation feedback has been received, resources might > be altered. But this will be handled in a different code path. > > > Diffs > ----- > > src/common/resources.cpp 7ee4dae1389e037531aec533a3d235ee06443ea8 > > > Diff: https://reviews.apache.org/r/63105/diff/2/ > > > Testing > ------- > > make check > > > Thanks, > > Jan Schlicht > > --===============8848597347520653671==--