Greg Grossmeier <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #5 from Greg Grossmeier <> ---
(In reply to Brion Vibber from comment #0)
> There's two main ways we could implement this:
> 1) Shut down Apache before rsync, restart it after.
> 2) rsync to a staging directory, then swap the entire thing out for the live
> one.
> or maybe also
> 3) rsync to a staging directory, then swap which directory we refer to in
> the .conf files and do an apachectl graceful restart.

The simple fix for this that is currently in use is passing the --delay-update
option to rsync (when called from scap). This makes it so the rsync to any
given apache copies the files to a tmp dir then switches it over as the last
step (basically, brion's suggestion #2).

There's also ideas on cluster wide atomicity, but I'm calling that out of scope
for this bug :).

Is the --delay-update good enough for this bug for now?

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to