Page MenuHomePhabricator

[keyserver] only run keyserver cron jobs if primary node besides geoip cron job
ClosedPublic

Authored by will on Jul 22 2024, 12:18 PM.
Tags
None
Referenced Files
F2629850: D12847.id42648.diff
Sat, Sep 7, 2:07 PM
Unknown Object (File)
Fri, Aug 30, 12:35 PM
Unknown Object (File)
Thu, Aug 29, 2:14 PM
Unknown Object (File)
Wed, Aug 28, 11:08 PM
Unknown Object (File)
Wed, Aug 28, 8:53 AM
Unknown Object (File)
Wed, Aug 28, 3:34 AM
Unknown Object (File)
Mon, Aug 26, 3:55 PM
Unknown Object (File)
Mon, Aug 26, 5:41 AM
Subscribers

Details

Summary

Given that we're running the keyserver on primary and secondary nodes, we don't want these cron jobs running for every node.

To ensure they only run once, we add a check for whether the node is primary to run cron jobs. The exception is keeping GeoIP updated.

Depends on D12846

Test Plan

flow check

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable