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
Unknown Object (File)
Sun, Nov 3, 5:40 AM
Unknown Object (File)
Fri, Nov 1, 10:57 AM
Unknown Object (File)
Fri, Nov 1, 10:57 AM
Unknown Object (File)
Fri, Nov 1, 10:57 AM
Unknown Object (File)
Fri, Nov 1, 10:57 AM
Unknown Object (File)
Sun, Oct 27, 11:12 PM
Unknown Object (File)
Sep 25 2024, 5:44 PM
Unknown Object (File)
Sep 25 2024, 5:44 PM
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