Unnecessary database access by l3 agent

Bug #1088129 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Gary Kotton

Bug Description

When running unit tests the test test_l3_agent_routers_query_ignore_interfaces_with_moreThanOneIp indicates unncesary database access.

/home/garyk/quantum/.tox/py27/local/lib/python2.7/site-packages/sqlalchemy/sql/expression.py:1927: SAWarning: The IN-predicate on "subnets.id" was invoked with an empty sequence. This results in a contradiction, which nonetheless can be expensive to evaluate. Consider alternative strategies for improved performance.
  return self._in_impl(operators.in_op, operators.notin_op, other)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to quantum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/17745

Changed in quantum:
assignee: nobody → Gary Kotton (garyk)
status: New → In Progress
Gary Kotton (garyk)
Changed in quantum:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/17745
Committed: http://github.com/openstack/quantum/commit/2e043a5a785b452f8f7fcb104b12c0746ca4a513
Submitter: Jenkins
Branch: master

commit 2e043a5a785b452f8f7fcb104b12c0746ca4a513
Author: Gary Kotton <email address hidden>
Date: Sun Dec 9 06:33:13 2012 +0000

    Prevent unnecessary database read by l3 agent

    Fixes bug 1088129

    Change-Id: I887facf321f3267c16c101a1448827f6c046bb2c

Changed in quantum:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in quantum:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in quantum:
milestone: grizzly-2 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.