diff options
author | Chris Behrens <cbehrens@codestud.com> | 2013-06-21 03:41:54 +0000 |
---|---|---|
committer | Chris Behrens <cbehrens@codestud.com> | 2013-06-21 03:41:54 +0000 |
commit | c0ca847286b88f37e3b4cb6b394fced4b60ed06f (patch) | |
tree | 83255e7f8096d76b43510f01c4d5d49716850237 /nova/utils.py | |
parent | 022bd8d6c16a1a06a3996f1fa827bc17b4272af7 (diff) | |
download | nova-c0ca847286b88f37e3b4cb6b394fced4b60ed06f.tar.gz nova-c0ca847286b88f37e3b4cb6b394fced4b60ed06f.tar.xz nova-c0ca847286b88f37e3b4cb6b394fced4b60ed06f.zip |
Retry quota_reserve on DBDeadlock
quota_reserve() can raise DBDeadlock... so this adds the decorator that
retries the transaction.
Fixes bug 1193199
Change-Id: Id632360372b21f3e75a2af50153eb18cc2025390
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions