Public bug reported: The duplicate mac detection logic is based on catching DBDuplicate exceptions at a very specific time. This results in incorrect classification if other things are waiting to be flushed which results in weird workarounds like (https://review.openstack.org/#/c/292207/23/neutron/db/db_base_plugin_common.py). It also creates different behavior if the duplicate isn't realized until certification at COMMIT, at which point the retry decorator will restart the operation.
** Affects: neutron Importance: Undecided Assignee: Kevin Benton (kevinbenton) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1590602 Title: duplicate mac detection is brittle Status in neutron: In Progress Bug description: The duplicate mac detection logic is based on catching DBDuplicate exceptions at a very specific time. This results in incorrect classification if other things are waiting to be flushed which results in weird workarounds like (https://review.openstack.org/#/c/292207/23/neutron/db/db_base_plugin_common.py). It also creates different behavior if the duplicate isn't realized until certification at COMMIT, at which point the retry decorator will restart the operation. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1590602/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp