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, Dec 22, 2:42 PM
Unknown Object (File)
Sun, Dec 22, 2:42 PM
Unknown Object (File)
Sun, Dec 22, 2:42 PM
Unknown Object (File)
Sun, Dec 22, 2:42 PM
Unknown Object (File)
Nov 26 2024, 4:17 PM
Unknown Object (File)
Nov 26 2024, 4:11 AM
Unknown Object (File)
Nov 22 2024, 7:38 PM
Unknown Object (File)
Nov 3 2024, 5:40 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
Branch
primary_cron
Lint
No Lint Coverage
Unit
No Test Coverage