New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
databroker: build config concurrently, option to bypass validation #4655
Conversation
@@ -40,7 +40,7 @@ func Run(ctx context.Context, src config.Source) error { | |||
if err != nil { | |||
return err | |||
} | |||
src = databroker.NewConfigSource(ctx, src) | |||
src = databroker.NewConfigSource(ctx, src, databroker.EnableConfigValidation(true)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this one is to keep current behaviour for now
if err != nil { | ||
metrics.SetDBConfigRejected(ctx, cfg.Options.Services, id, cfgpb.version, err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
those metrics were originally added for console, however they are not compatible with chunked config anyway currently, thus removing them for now as they require redesign.
Summary
Related issues
User Explanation
Checklist
improvement
/bug
/ etc)