Page MenuHomeDevCentral

Handle .geoipupdate lock file
ClosedPublic

Authored by dereckson on Mar 16 2023, 19:14.
Tags
None
Referenced Files
F31863076: D2902.id7397.diff
Fri, Jun 5, 00:44
F31859509: D2902.id7396.diff
Thu, Jun 4, 23:55
F31721808: D2902.id.diff
Thu, Jun 4, 03:21
Unknown Object (File)
Wed, Jun 3, 06:15
Unknown Object (File)
Wed, May 27, 23:19
Unknown Object (File)
Fri, May 22, 17:46
Unknown Object (File)
Mon, May 18, 22:09
Unknown Object (File)
Mon, May 18, 15:40
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 Not Applicable
Unit
Tests Not Applicable

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.