← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1609184] [NEW] [RFE] ML2: Allow retry on db error by precommit

 

Public bug reported:

Allow retry on db retriable error by precommit mothod.

Currently ML2 driver manager swallows all exceptions by mechanism driver and return errors to user.
However, there are classes of retriable db errors(DBDeadlock, taleDataError, DDuplicateEntry, TretryRequest).
With those error by precommit, it's better to allow neutron.api.v2.base.Controller to retry request.

Sometimes, those db error by precommit is inevitable. Especially subnet
operation touches many resources(port, ip address, etc).

** Affects: neutron
     Importance: Undecided
     Assignee: Isaku Yamahata (yamahata)
         Status: New


** Tags: ml2 rfe

** Tags added: rfe

** Tags added: ml2

** Changed in: neutron
     Assignee: (unassigned) => Isaku Yamahata (yamahata)

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

Title:
  [RFE] ML2: Allow retry on db error by precommit

Status in neutron:
  New

Bug description:
  Allow retry on db retriable error by precommit mothod.

  Currently ML2 driver manager swallows all exceptions by mechanism driver and return errors to user.
  However, there are classes of retriable db errors(DBDeadlock, taleDataError, DDuplicateEntry, TretryRequest).
  With those error by precommit, it's better to allow neutron.api.v2.base.Controller to retry request.

  Sometimes, those db error by precommit is inevitable. Especially
  subnet operation touches many resources(port, ip address, etc).

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


Follow ups