[ https://issues.apache.org/jira/browse/AURORA-570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14614370#comment-14614370
]
Stephan Erb commented on AURORA-570:
------------------------------------
I wanted to look into this, but turns out it is already done: https://github.com/apache/aurora/blob/a1f7b3da64c84fd84f145e0d4cce4ca69341f1ca/src/main/java/org/apache/aurora/scheduler/http/JettyServerModule.java#L236
> LeaderRedirectFilter should be applied to admin endpoints that depend on storage
> --------------------------------------------------------------------------------
>
> Key: AURORA-570
> URL: https://issues.apache.org/jira/browse/AURORA-570
> Project: Aurora
> Issue Type: Story
> Components: Scheduler
> Reporter: Kevin Sweeney
>
> Admin endpoints that purely depend on storage state, like /quotas and /cron should redirect
to the leader. This simplifies writing tools (curl scripts, etc.) that use these endpoints
without the need to link zookeeper libraries.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|