-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Origin and cache should be able to control downtime #1251
Comments
@howard we are going to have to split this ticket into a origin/cache api endpoint and the appropriate UI. Typically Haoming would build the api and I would build on top of it. Does that sound good to you? |
@CannonLock I'm not sufficiently familiar with this project to give any advice. |
Sounds good, @CannonLock Could you send me a few links to your previous collaborations so that I can learn more? |
@howard TIL all Howards are not interchangeable. :) My mistake I will ask our Howard (@h2zh) to give it a shot. |
This ticket is 80% done. However, it is blocked by an existing problem: The Director serverAds is a dictionary with key-value pairs as {serverURL:serverAd}. The format of serverURL looks like When an origin wants to put itself into downtime, it sends a request to the director. Director first checks if the sender's server url is stored in director's cached serverAds. If so, it will retrieve this advertisement and carry the server namespace (e.g. I talked to Justin about this. He mentioned there is another ticket #1241 that could solve this blocker. So I will just put this ticket on hold. When I completed that ticket, I'll go back to this one. |
I should've tagged you here for the update! @CannonLock |
The director administrator can force a cache or origin into downtime centrally.
However, I don't want this power to only exist in the hands of the director administrator. The origin/cache administrator should have a web UI (and a corresponding CLI) where they can put their own service in and out of downtime.
The text was updated successfully, but these errors were encountered: