Kept compositions follow config changes from a durable consumer, so going back to an earlier build keeps today's config (issue 1945, ADR 0545) #466

Merged
jschoubben merged 7 commits from fix/1945-kept-compositions-follow-config into main 2026-10-25 18:37:58 +00:00
Showing only changes of commit 81e335e42d - Show all commits
+1 -1
View File
@@ -101,7 +101,7 @@ func followKept(ctx context.Context, open *stores, node string, modules map[stri
lister, err := at.bucket.ListKeys(ctx)
if err != nil {
if errors.Is(err, jetstream.ErrNoKeysFound) {
return nil, nil
return nil, nil // empty-on-error: a node with no compositions keeps none to compose again
}
return nil, err
}