optimistic concurrency support [closed]
Where the mysql database uses optimistic concurrency, will Openstack deal with catching the exception and retrying the transaction ?
First time here? Check out the FAQ!
Where the mysql database uses optimistic concurrency, will Openstack deal with catching the exception and retrying the transaction ?
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.
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
Thanks ever so much, this saved me lots of looking.
Thanks Tiantian Gao, that solved my question.
Asked: 2013-09-23 23:28:15 -0600
Seen: 107 times
Last updated: Sep 24 '13