Run the catch-up at the controller's start and after each merge it hears (ADR 0457, issue 1336)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user