HomePhabricator

l10nupdate: aquire scap lock before changing files
548bff5830e7Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

l10nupdate: aquire scap lock before changing files

Prevent occasional file update wars between the cron'd l10nupdate
process and manual deployments by respecting the /var/lock/scap lock
file. l10nupdate will wait on an exclusive lock of /var/lock/scap before
changing the php-*/cache/l10n CDB and json files. The lock has to be
released before running scap sync-l10n or scap's internal locking will
fail.

Bug: T72752
Change-Id: I2a51093686edd1aaeb3ea52d2b986cc62b49d762

Details

Provenance
bd808Authored on Aug 9 2016, 9:40 PM
ChangeId
I2a51093686edd1aaeb3ea52d2b986cc62b49d762

Commit No Longer Exists

This commit no longer exists in the repository.