Return-Path: X-Original-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-mesos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 03668DF46 for ; Fri, 3 Aug 2012 00:30:11 +0000 (UTC) Received: (qmail 20278 invoked by uid 500); 3 Aug 2012 00:30:11 -0000 Delivered-To: apmail-incubator-mesos-dev-archive@incubator.apache.org Received: (qmail 20168 invoked by uid 500); 3 Aug 2012 00:30:10 -0000 Mailing-List: contact mesos-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mesos-dev@incubator.apache.org Delivered-To: mailing list mesos-dev@incubator.apache.org Received: (qmail 20155 invoked by uid 99); 3 Aug 2012 00:30:10 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Aug 2012 00:30:10 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id D76F81C167E; Fri, 3 Aug 2012 00:30:09 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6241903657875360187==" MIME-Version: 1.0 Subject: Re: Review Request: Master Redirect URL From: "Vinod Kone" To: "Benjamin Hindman" , "Vinod Kone" Cc: "mesos" , "Ben Mahler" Date: Fri, 03 Aug 2012 00:30:09 -0000 Message-ID: <20120803003009.22302.18209@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Vinod Kone" X-ReviewGroup: mesos X-ReviewRequest-URL: https://reviews.apache.org/r/6322/ X-Sender: "Vinod Kone" References: <20120802224240.22301.16898@reviews.apache.org> In-Reply-To: <20120802224240.22301.16898@reviews.apache.org> Reply-To: "Vinod Kone" --===============6241903657875360187== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/6322/#review9798 ----------------------------------------------------------- src/master/http.cpp no need for const src/master/http.cpp Instead of IP, can we redirect to the host name? This will help greatly= during debugging issues. - Vinod Kone On Aug. 2, 2012, 10:42 p.m., Ben Mahler wrote: > = > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/6322/ > ----------------------------------------------------------- > = > (Updated Aug. 2, 2012, 10:42 p.m.) > = > = > Review request for mesos, Benjamin Hindman and Vinod Kone. > = > = > Description > ------- > = > This adds a /master/redirect URL that redirects to the current leader. > = > = > Diffs > ----- > = > src/master/http.hpp 2aeb442 = > src/master/http.cpp 49ccf39 = > src/master/master.hpp d02fbeb = > src/master/master.cpp b0507c5 = > third_party/libprocess/include/process/http.hpp a10146f = > = > Diff: https://reviews.apache.org/r/6322/diff/ > = > = > Testing > ------- > = > Tested locally with 1 master. Will also test with multiple local masters. > = > = > Thanks, > = > Ben Mahler > = > --===============6241903657875360187==--