Page MenuHomeDevCentral

Handle .geoipupdate lock file
ClosedPublic

Authored by dereckson on Mar 16 2023, 19:14.
Tags
None
Referenced Files
F21132647: D2902.id7397.diff
Sat, Jan 17, 04:29
F21132645: D2902.id7396.diff
Sat, Jan 17, 04:29
F21131352: D2902.diff
Sat, Jan 17, 00:54
F21125392: D2902.id7396.diff
Fri, Jan 16, 12:30
F21125363: D2902.id7397.diff
Fri, Jan 16, 12:29
Unknown Object (File)
Fri, Jan 16, 04:21
Unknown Object (File)
Thu, Jan 15, 17:39
Unknown Object (File)
Thu, Jan 15, 14:43
Subscribers
None

Details

Summary

The geoipupdate client creates a lockfile to avoid race conditions.

Drawbacks of the current method is:

  • no lock file created at first run
  • can be confusing to see it afterwards

To address both those concerns, the wrapper creates and deletes
this lock file before and after the container run.

Reference: https://github.com/maxmind/geoipupdate-legacy/issues/79

Test Plan

Tested on docker-002

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
main
Build Status
Buildable 4578
Build 4846: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Mar 16 2023, 19:15
This revision was automatically updated to reflect the committed changes.