-
Notifications
You must be signed in to change notification settings - Fork 897
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
Fix "query in loop" in InfraConversionThrottler #18865
Comments
That entire method is N+1s nested in other N+1s. You have an outer loop which has multiple inner loops and those inner loops have more loops inside there, with individualized queries inside. I recommend doing a complete performance check on it. cc @kbrock |
I had tried with #18876 But some caching got injected in there after a few runs. It sounded like the consensus for the next version would:
|
This issue has been automatically marked as stale because it has not been updated for at least 3 months. If you can still reproduce this issue on the current release or on Thank you for all your contributions! More information about the ManageIQ triage process can be found in the traige process documentation. |
@fdupont-redhat Is this issue still relevant? |
@Fryguy If we remove the V2V feature, it's not. |
Removed in #21515 |
@ghost 'djberg96' is an invalid assignee, ignoring... |
When implementing #18860, @Fryguy noticed that https://github.com/ManageIQ/manageiq/blob/master/lib/infra_conversion_throttler.rb#L4 feels like a terrible N+1 (query in a loop is bad).
This issue track the effort to get rid of this bad thing.
The text was updated successfully, but these errors were encountered: