Public bug reported:

We currently have a decorator to convert db exceptions into retry
requests to work with the exceptions the oslo_db wrapper is expecting:
https://github.com/openstack/neutron/blob/cb9b44e57430745cd2cfa9ccd3d63fff322af707/neutron/db/api.py#L79

This is no longer necessary since the wrapper now accepts a function to 
determine if additional exception types should be caught:
https://github.com/openstack/oslo.db/commit/c7f938ceaa92292aec7df4454566c116c4f6ad8d

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1485819

Title:
  db retry mechanism should use new olso_db exception checker arg

Status in neutron:
  New

Bug description:
  We currently have a decorator to convert db exceptions into retry
  requests to work with the exceptions the oslo_db wrapper is expecting:
  
https://github.com/openstack/neutron/blob/cb9b44e57430745cd2cfa9ccd3d63fff322af707/neutron/db/api.py#L79

  This is no longer necessary since the wrapper now accepts a function to 
determine if additional exception types should be caught:
  
https://github.com/openstack/oslo.db/commit/c7f938ceaa92292aec7df4454566c116c4f6ad8d

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1485819/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to