Page MenuHomeDevCentral

Handle .geoipupdate lock file
ClosedPublic

Authored by dereckson on Mar 16 2023, 19:14.
Tags
None
Referenced Files
F35091366: D2902.id.diff
Mon, Jul 6, 17:41
Unknown Object (File)
Fri, Jul 3, 22:15
Unknown Object (File)
Fri, Jul 3, 19:15
Unknown Object (File)
Thu, Jul 2, 21:57
Unknown Object (File)
Thu, Jul 2, 15:26
Unknown Object (File)
Thu, Jul 2, 06:36
Unknown Object (File)
Sat, Jun 27, 06:18
Unknown Object (File)
Thu, Jun 25, 23:06
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.