yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02965
[Bug 1174998] Re: Avoid all() query when generating tunnel id
** Changed in: quantum
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1174998
Title:
Avoid all() query when generating tunnel id
Status in OpenStack Quantum (virtual network service):
Fix Released
Bug description:
There is no need for: https://github.com/openstack/quantum/blob/master/quantum/plugins/openvswitch/ovs_db_v2.py#L371
Sql Alchemy could be used to extract directly the max value from tunnel.id, thus saving time especially when several hosts are employed.
This was observed by Jason in a recent review.
It's a negligible improvement, but a very easy one.
To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1174998/+subscriptions