idvoretskyi / horizon-cloud

An operations service to deploy, manage, and scale Horizon apps
0 stars 0 forks source link

Use "staging"/"active" bucket directories in GCS instead of "staging"/$domain directories #143

Closed encryptio closed 8 years ago

encryptio commented 8 years ago

This handles #122 and removes several race conditions. Also makes #124 easier (and less racy.)

We'll need to have hzc-http respond with a special response (say, with a X-Horizon-Cloud-Storage-Redirect) pointing requesters at GCS, then modify the varnish config to restart requests given that header.