You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This converted the host ForeignKey from SET_NULL to DO_NOTHING. At the point that happened, deleting this bit should have been possible. @john-westcott-iv do you know of any reason that was not done at that time? Any blockers for doing it now?
Please confirm the following
Feature type
New Feature
Feature Summary
We should delete these lines because they can become a very slow query, and have no restrictions for the event partition they operate on.
awx/awx/main/tasks/system.py
Lines 843 to 844 in b8c48f7
Because the
Event.host
ForeignKey already is set toDO_NOTHING
on_delete, it should work fine.This issue requests:
Select the relevant components
Steps to reproduce
Not a bug, just slow query elimination.
Current results
Query can go slow.
Sugested feature result
Do not do that query at all.
Additional information
No response
The text was updated successfully, but these errors were encountered: