Reviewed: https://review.openstack.org/292867 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1f017d349d2418aebf8d35f04099c817271e6cc5 Submitter: Jenkins Branch: master
commit 1f017d349d2418aebf8d35f04099c817271e6cc5 Author: Kevin Benton <[email protected]> Date: Mon Mar 14 07:33:04 2016 -0700 Add retry support to pecan This modifies the expose and when decorators in pecan to also include the olso db API retry logic so all controllers that leverage these automatically get the retry logic to handle temporary DB errors. To accomplish this, the ATTR_NOT_SPECIFIED sentinel was modified to be friendly to copy.deepcopy since unlike in the old API, the new logic will be sending copies to the core plugin after the attributes have been populated. This also includes a workaround for a bad assumption in the pecan decorator utils that assumes all decorators have a __code__ attribute. Change-Id: If4e502d25856190495b160a589232de258364c4f Closes-Bug: #1557509 Co-Authored-By: Brandon Logan <[email protected]> ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1557509 Title: pecan wsgi needs support for retry decorator Status in neutron: Fix Released Bug description: Currently the pecan framework does not retry if a retryrequest or other retriable DB error is thrown. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1557509/+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

