pvc/node-daemon
Joshua Boniface 595cf1782c Switch DNS aggregator to PostgreSQL
MariaDB+Galera was terribly unstable, with the cluster failing to
start or dying randomly, and generally seemed incredibly unsuitable
for an HA solution. This commit switches the DNS aggregator SQL
backend to PostgreSQL, implemented via Patroni HA.

It also manages the Patroni state, forcing the primary instance to
follow the PVC coordinator, such that the active DNS Aggregator
instance is always able to communicate read+write with the local
system.

This required some logic changes to how the DNS Aggregator worked,
specifically ensuring that database changes aren't attempted while
the instance isn't actively running - to be honest this was a bug
anyways that had just never been noticed.

Closes #34
2019-05-21 01:07:41 -04:00
..
pvcd Switch DNS aggregator to PostgreSQL 2019-05-21 01:07:41 -04:00
pvcd.py Massive rejigger into single daemon 2018-10-14 02:40:54 -04:00
pvcd.sample.yaml Switch DNS aggregator to PostgreSQL 2019-05-21 01:07:41 -04:00
pvcd.service Don't depend start on mariadb 2019-05-10 23:26:59 -04:00