Closed
Bug 1189828
Opened 9 years ago
Closed 9 years ago
Repo permissions script should ignore ENOENT errors
Categories
(Developer Services :: Mercurial: hg.mozilla.org, defect)
Developer Services
Mercurial: hg.mozilla.org
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gps, Assigned: gps)
Details
Attachments
(1 file)
A CRON log indicated a failure changing permissions of the .hg/store/lock file because the file disappeared. We should probably ignore ENOENT errors when adjusting permissions to avoid race conditions. We should also verify that adjusting permissions on the lock file is sane while we're here.
Assignee | ||
Comment 1•9 years ago
|
||
scripts/repo-permissions: ignore ENOENT (bug 1189828); r?fubar We periodically saw failures in production due to ENOENT. I think this was always on .hg/store/lock files. This is a race condition and disappearing files is harmless. This commit ignores failures due to ENOENT.
Attachment #8683250 -
Flags: review?(klibby)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gps
Status: NEW → ASSIGNED
Comment 2•9 years ago
|
||
Comment on attachment 8683250 [details] MozReview Request: scripts/repo-permissions: ignore ENOENT (bug 1189828); r?fubar https://reviewboard.mozilla.org/r/24235/#review21721 lgtm
Attachment #8683250 -
Flags: review?(klibby) → review+
Assignee | ||
Comment 3•9 years ago
|
||
https://hg.mozilla.org/hgcustom/version-control-tools/rev/1efd6d5743749fc65256cd518b6309e897b30fd5 scripts/repo-permissions: ignore ENOENT (bug 1189828); r=fubar
Assignee | ||
Comment 4•9 years ago
|
||
Will deploy shortly.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•