yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40671
[Bug 1505908] Re: inconsistent locations of retry decorators
** Also affects: networking-midonet
Importance: Undecided
Status: New
** Changed in: networking-midonet
Assignee: (unassigned) => YAMAMOTO Takashi (yamamoto)
** Changed in: networking-midonet
Importance: Undecided => Low
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1505908
Title:
inconsistent locations of retry decorators
Status in networking-midonet:
In Progress
Status in neutron:
Fix Committed
Bug description:
We're trying to have DB error retry operations handled at the API
layer (e.g. [1][2]). However, several have snuck into the ML2
plugin[3] so it's not clear which decorator is responsible for
specific errors that occur and it's not clear if a transaction is
still ongoing leading to repeatable read problems.
We should keep these at one level of the pipeline to make
troubleshooting easier and to avoid confusion about what state
everything will be in when things are retried.
1. https://github.com/openstack/neutron/blob/cecf2a5883744a4aa3ece3194919b2037d007b3f/neutron/api/rpc/handlers/dhcp_rpc.py#L166
2. https://github.com/openstack/neutron/blob/cecf2a5883744a4aa3ece3194919b2037d007b3f/neutron/api/v2/base.py#L404
3. https://github.com/openstack/neutron/blob/cecf2a5883744a4aa3ece3194919b2037d007b3f/neutron/plugins/ml2/plugin.py#L879
To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-midonet/+bug/1505908/+subscriptions
References