Run the catch-up at the controller's start and after each merge it hears (ADR 0457, issue 1336)

This commit is contained in:
2026-10-20 12:58:16 +00:00
parent 4e0a82010c
commit 815d60a7e4
2 changed files with 12 additions and 1 deletions
+2
View File
@@ -208,6 +208,8 @@ func serve(ctx context.Context) (err error) {
if err := server.Follows(following{open: open}); err != nil {
return err
}
// And the merges it did not hear while it was away, caught up once it serves (novox/hq ADR 0457, issue 1336).
go catchUpAtStart(ctx, open)
// And the merges mesh-delivery made, kept a week with the ask each was made on: what registers a module that
// moved between repositories on the operator's Approve (novox/hq ADR 0420 §7, issue 1025).
if err := server.KeepsDeliveryMerges(keepingDeliveryMerges{js: server.JetStream, catalog: open.inventory.Catalogued,