Status locking race condition
Bug #1640277 reported by
Robert Bruce Park
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bileto |
Triaged
|
Medium
|
Unassigned |
Bug Description
The status job is running at inappropriate times. Some time ago it was changed to run only after the lockfile mtime hit a certain age, but the build job sets the mtime at the start, not at the end, so a build job that takes 12 minutes to run will see the status job run before it finishes, resulting in inconsistent status being reported.
Need to:
1. Actually respect the lock, not just checking the mtime
2. Touch the mtime at the *end* of the build job.
Changed in bileto: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Robert Bruce Park (robru) |
Changed in bileto: | |
assignee: | Robert Bruce Park (robru) → nobody |
To post a comment you must log in.