-
Notifications
You must be signed in to change notification settings - Fork 56
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
catalogmetadata client adds extreme latency to reconciliation #914
Comments
I added some timing data to the Bundles func too, documenting times for the various return points (https://gist.github.com/bentito/9fbf0d81354caa52121f5c4e294bd506). The fake catalog is just 1 entry I think? Would ~350µs (the longest test timing in 1 run (not scientific!) * number items in real catalog * # of calls to Bundle get close to 30s? |
I think that's probably an order of magnitude off still. I suspect that our fake catalog entry isn't as complex and varied as what exists in operatorhub in terms of what takes the most time (i.e. icons, olm.bundle.object properties). |
Are we talking about this function? Or something else? |
Yep, that's the one. |
I think there's a broad change that needs to be made to solve this. We should add a controller for
Separate, but related, I think the |
I've narrowed this latency down to the
Bundles()
call that is made for every single reconcile.I added logging to the
catalogmetadata.Client.Bundles()
call to report start time and end time, and the function consistently takes around 30s, and it pegs a CPU.This seems like a bug we should treat with a fairly high priority.
The text was updated successfully, but these errors were encountered: