The inefficient query goes back to Icehouse when the InstanceGroup.get_hosts() method was introduced:
https://review.opendev.org/#/c/77786/
So we can at least backport the #1 fix above to stable/ocata.
The inefficient query goes back to Icehouse when the InstanceGroup. get_hosts( ) method was introduced:
https:/ /review. opendev. org/#/c/ 77786/
So we can at least backport the #1 fix above to stable/ocata.