Page MenuHomeDevCentral

Handle .geoipupdate lock file
ClosedPublic

Authored by dereckson on Mar 16 2023, 19:14.
Tags
None
Referenced Files
F4017172: D2902.id7397.diff
Sat, Jan 18, 03:33
F4016149: D2902.diff
Sat, Jan 18, 00:32
F4014978: D2902.id7396.diff
Fri, Jan 17, 21:48
F4014387: D2902.id7396.diff
Fri, Jan 17, 20:42
Unknown Object (File)
Mon, Jan 13, 07:52
Unknown Object (File)
Sun, Jan 12, 04:22
Unknown Object (File)
Thu, Jan 9, 20:24
Unknown Object (File)
Thu, Jan 9, 02:47
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.