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 4B604200C7E for ; Tue, 9 May 2017 02:18:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 49F91160BBF; Tue, 9 May 2017 00:18:00 +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 90717160BA5 for ; Tue, 9 May 2017 02:17:59 +0200 (CEST) Received: (qmail 11730 invoked by uid 500); 9 May 2017 00:17:58 -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 11714 invoked by uid 99); 9 May 2017 00:17:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 May 2017 00:17:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 18E201A00D7; Tue, 9 May 2017 00:17:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.651 X-Spam-Level: **** X-Spam-Status: No, score=4.651 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, KAM_LOTSOFHASH=0.25, KAM_MANYTO=0.2, 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 (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id zYzInr9nLzIt; Tue, 9 May 2017 00:17:56 +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 746CA5FAF9; Tue, 9 May 2017 00:17:56 +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 1E45CE00A0; Tue, 9 May 2017 00:17:56 +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 0FFEBC40099; Tue, 9 May 2017 00:17:56 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============3227455573198922125==" MIME-Version: 1.0 Subject: Re: Review Request 59012: Implemented passing the secret fetcher to registry puller. From: Vinod Kone To: Adam B , Kapil Arya , Jie Yu , Chun-Hung Hsiao , Vinod Kone , Till Toenshoff Cc: Gilbert Song , mesos Date: Tue, 09 May 2017 00:17:56 -0000 Message-ID: <20170509001756.23035.4821@reviews-vm2.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: Vinod Kone X-ReviewGroup: mesos X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/59012/ X-Sender: Vinod Kone References: <20170505235501.48086.60624@reviews-vm2.apache.org> In-Reply-To: <20170505235501.48086.60624@reviews-vm2.apache.org> Reply-To: Vinod Kone X-ReviewRequest-Repository: mesos archived-at: Tue, 09 May 2017 00:18:00 -0000 --===============3227455573198922125== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On May 5, 2017, 11:55 p.m., Chun-Hung Hsiao wrote: > > Should we use a shared pointer for `SecretResolver` instead of passing a `SecretResolver*` around? +1. Since provisioner and env isolator are both sharing the pointer, it's probably worth having the containerizer take in a shared pointer instead of raw pointer. cc @karya. - Vinod ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59012/#review174103 ----------------------------------------------------------- On May 5, 2017, 11:16 p.m., Gilbert Song wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/59012/ > ----------------------------------------------------------- > > (Updated May 5, 2017, 11:16 p.m.) > > > Review request for mesos, Adam B, Chun-Hung Hsiao, Jie Yu, Kapil Arya, Till Toenshoff, and Vinod Kone. > > > Bugs: MESOS-7088 > https://issues.apache.org/jira/browse/MESOS-7088 > > > Repository: mesos > > > Description > ------- > > Implemented passing the secret fetcher to registry puller. > > > Diffs > ----- > > src/slave/containerizer/mesos/containerizer.cpp b58baed64480e22f640a4852537f85922ed382ae > src/slave/containerizer/mesos/provisioner/appc/store.hpp 15c79e9401a821e445fbd32b34503e4fb0014d42 > src/slave/containerizer/mesos/provisioner/appc/store.cpp 09a40a5835454bb7519d11bae4a851337a89b935 > src/slave/containerizer/mesos/provisioner/docker/puller.hpp 6dacdb1403433a37dd31a93d4ff2e37d4685eb87 > src/slave/containerizer/mesos/provisioner/docker/puller.cpp ac9dae8ecbb897b8ff942d11ac70281a63e06831 > src/slave/containerizer/mesos/provisioner/docker/registry_puller.hpp 62ddb7a332030f3116477408d8b16c19e434c159 > src/slave/containerizer/mesos/provisioner/docker/registry_puller.cpp 6db788dd0c582deadf3e91c4d21bb9c20cf94e6b > src/slave/containerizer/mesos/provisioner/docker/store.hpp e1abff19c8877ad07900bb2f44deca1cdda41f58 > src/slave/containerizer/mesos/provisioner/docker/store.cpp 68ce265a5d0a61f8d9ed55dd14c630dcf893a7d2 > src/slave/containerizer/mesos/provisioner/provisioner.hpp 7d6c1b93a2c0e265b9344a0fc27f1cf4ed5325f2 > src/slave/containerizer/mesos/provisioner/provisioner.cpp be45fc59027f176b43b767e9441fd8089ceec7b4 > src/slave/containerizer/mesos/provisioner/store.hpp 82a9be64264ae829773c1e2e8a4360f78641cbf6 > src/slave/containerizer/mesos/provisioner/store.cpp 7141d63fcf2dbc3fbf00508c7f92945aab014fb2 > > > Diff: https://reviews.apache.org/r/59012/diff/3/ > > > Testing > ------- > > make check > > > Thanks, > > Gilbert Song > > --===============3227455573198922125==--