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).

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ergonlogic’s picture

Status: Active » Needs review
FileSize
1.28 KB

Here'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.

anarcat’s picture

i 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. :)

  • ergonlogic committed 0ac210d on 7.x-3.x
    Issue #2494121: Stop servers in clusters from sync'ing back to master.
    
ergonlogic’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.