Currently not running as expected; function needed to prevent locking when inserts queue up during long cube runs
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Dwisehaupt | T256420 Determine reason for daily increasing proc count on fran1001 | |||
Resolved | Dwisehaupt | T256924 Add logging and lockfiles to fr analytics scripts where needed | |||
Resolved | Dwisehaupt | T258454 Bugfix for get_lock() function on fran1001 inserts |
Event Timeline
Comment Actions
Found the issue. Writing the PID to the file after it has locked seems to release the lock. Looking to see if I can use a write lock to allow the write. If not, we can just not insert the PID which is ok since it's just there for convenience.
Comment Actions
Change 615876 had a related patch set uploaded (by Dwisehaupt; owner: Dwisehaupt):
[wikimedia/fundraising/analytics@master] Update to locking code
Comment Actions
Change 615876 merged by Erin Yener:
[wikimedia/fundraising/analytics@master] Update to locking code