Skip to content

Praefect: Move replication queue to database

Problem to solve

Each repository will after each mutate operation create a replication job in a queue. This queue is in the process memory, and is not persisted. Meaning that if the praefect node goes down, the queue is potentially lost.

Proposal

Persist the queue in a persistent data store, in this case PostgreSQL.

Links / references

Edited by Pavlo Strokov
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information