Ask Your Question
0

optimistic concurrency support [closed]

asked 2013-09-23 23:28:15 -0500

keith-tobin gravatar image

Where the mysql database uses optimistic concurrency, will Openstack deal with catching the exception and retrying the transaction ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-06-05 21:06:08.860090

4 answers

Sort by ยป oldest newest most voted
0

answered 2013-09-23 23:37:55 -0500

keith-tobin gravatar image

Found the answer, deadlock situations are supported in nova code. Will check Openstack components and post here, if anyone can save me time looking through code, that would be a big help.

edit flag offensive delete link more
0

answered 2013-09-24 03:00:54 -0500

gtt116 gravatar image

Hi Keith,

The main code to process sql connection failed sits here: https://github.com/openstack/nova/blob/master/nova/openstack/common/db/sqlalchemy/session.py#L674 (https://github.com/openstack/nova/blo...)

these code will be moved into 'oslo.db' which is a part of project 'oslo' in the future.

Hoping that help you. cheers, gtt

2013/9/24 Keith Tobin question236223@answers.launchpad.net

Question #236223 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+question/236223 (https://answers.launchpad.net/nova/+q...)

Keith Tobin gave more information on the question: Found the answer, deadlock situations are supported in nova code. Will check Openstack components and post here, if anyone can save me time looking through code, that would be a big help.


You received this question notification because you are an answer contact for OpenStack Compute (nova).


Best regards, gtt

edit flag offensive delete link more
0

answered 2013-09-24 06:28:21 -0500

keith-tobin gravatar image

Thanks ever so much, this saved me lots of looking.

edit flag offensive delete link more
0

answered 2013-09-24 06:28:29 -0500

keith-tobin gravatar image

Thanks Tiantian Gao, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-23 23:28:15 -0500

Seen: 46 times

Last updated: Sep 24 '13