Some work was done to make the files/ dir on remote servers canonical, and so have that data sync'd back to the master server on verify tasks. While this makes sense when deploying a site to a remote server, it doesn't in the context of a web cluster. In a cluster, we should assume that the master is the canonical source for code, and assume that files are being hosted off-site, in a storage service such as S3 (see the hosting_s3 module for such support in Aegir).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | provision-cluster_master_authoritative-2494121-1.patch | 1.28 KB | ergonlogic |
Comments
Comment #1
ergonlogicHere's a patch of the changes I'm running on my clusters. We're using hosting_s3 to provision buckets and deploy credentials for sites. This removes local file storage from the web cluster nodes. As a result, the master is authoritative, and should only sync out towards the nodes.
Comment #2
anarcat commentedi haven't tested the patch, but i think it makes sense. i am little surprised by the second chunk of the patch - i thought we had the reverse of "fetch()" somewhere, but maybe that's the right place. i would be concerned we forget another place there... but i don't really know.
anyways, i'm agreeing with the spirit of the patch at least. :)
Comment #4
ergonlogic