Revert "Use HasStandardAttributes as parent class for Tags DB model"
This reverts commit 85d3fff97e55ba85f72cda4365ad0441c10bd9f6.
Reason for revert:
The original change was made as a “cheap win” to optimize the number
of queries the neutron server makes during testing. This did
improve the number of queries made but introduced regression in
real world deployments where some customers(through automation)
would define hundreds of tags per port across a large deployment.
I am proposing to revert this change in favor of the old “subquery”
relation in order to fix this regression. In addition, I filed the
Related-Bug #2069061 to investigate using `selectin` as the more
appropriate long term solution.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/921787 /opendev. org/openstack/ neutron/ commit/ f60fce80903c6fd 1a7a45df10b2d84 1ba52f55cd
Committed: https:/
Submitter: "Zuul (22348)"
Branch: unmaintained/zed
commit f60fce80903c6fd 1a7a45df10b2d84 1ba52f55cd
Author: Miro Tomaska <email address hidden>
Date: Fri Jun 7 19:14:00 2024 +0000
Revert "Use HasStandardAttr ibutes as parent class for Tags DB model"
This reverts commit 85d3fff97e55ba8 5f72cda4365ad04 41c10bd9f6.
Reason for revert:
The original change was made as a “cheap win” to optimize the number
of queries the neutron server makes during testing. This did
improve the number of queries made but introduced regression in
real world deployments where some customers(through automation)
would define hundreds of tags per port across a large deployment.
I am proposing to revert this change in favor of the old “subquery”
relation in order to fix this regression. In addition, I filed the
Related-Bug #2069061 to investigate using `selectin` as the more
appropriate long term solution.
Change-Id: I83ec349e49e1f3 43da8996cab149d 76443120873
Closes-Bug: #2068761
Related-Bug: #2069061