Return-Path: X-Original-To: apmail-aurora-issues-archive@minotaur.apache.org Delivered-To: apmail-aurora-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2C14317B1F for ; Fri, 29 Jan 2016 17:40:40 +0000 (UTC) Received: (qmail 42089 invoked by uid 500); 29 Jan 2016 17:40:40 -0000 Delivered-To: apmail-aurora-issues-archive@aurora.apache.org Received: (qmail 42045 invoked by uid 500); 29 Jan 2016 17:40:40 -0000 Mailing-List: contact issues-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list issues@aurora.apache.org Received: (qmail 42029 invoked by uid 99); 29 Jan 2016 17:40:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jan 2016 17:40:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E197D2C1F57 for ; Fri, 29 Jan 2016 17:40:39 +0000 (UTC) Date: Fri, 29 Jan 2016 17:40:39 +0000 (UTC) From: "Joshua Cohen (JIRA)" To: issues@aurora.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (AURORA-1601) Add a flag to disable the HTTP redirect to the leader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AURORA-1601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joshua Cohen reassigned AURORA-1601: ------------------------------------ Assignee: Joshua Cohen > Add a flag to disable the HTTP redirect to the leader > ----------------------------------------------------- > > Key: AURORA-1601 > URL: https://issues.apache.org/jira/browse/AURORA-1601 > Project: Aurora > Issue Type: Bug > Reporter: Zameer Manji > Assignee: Joshua Cohen > > In an emergency scenario, it can be desirable to get a leading scheduler into the state {{LEADER_AWAITING_REGISTRATION}} so a scheduler can be restored from backup. > However in this state it is not possible to issue any RPCs to the API at this time because the leader redirect filter redirects api requests: https://github.com/apache/aurora/blob/0eb753d1536ba8889eeb9fcf052b96b7b9f9c2a7/src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java#L260-L262 > Adding a flag to allow operators to disable this functionality would be useful. -- This message was sent by Atlassian JIRA (v6.3.4#6332)