Re: [openstack-dev] [magnum]problems for horizontal scale

2015-08-13 Thread Kai Qiang Wu
Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Date: 08/13/2015 03:32 PM Subject:Re: [openstack-dev] [magnum]problems for horizontal scale Hi Kai Qiang Wu, I have some comments in line. On Thu, Aug 13, 2015 at 1:32 PM, Kai Qiang Wu wk

Re: [openstack-dev] [magnum]problems for horizontal scale

2015-08-13 Thread 王华
...@gmail.com wrote: From: 王华 wanghua.hum...@gmail.com To: openstack-dev@lists.openstack.org Date: 08/13/2015 11:31 AM Subject: Re: [openstack-dev] [magnum]problems for horizontal scale -- any comments on this? On Wed, Aug 12, 2015 at 2:50 PM, 王华 *wanghua.hum

Re: [openstack-dev] [magnum]problems for horizontal scale

2015-08-13 Thread 王华
:53 PM---Hi Kai Qiang Wu, I have some comments in line. From: 王华 wanghua.hum...@gmail.com To: OpenStack Development Mailing List (not for usage questions) openstack-dev@lists.openstack.org Date: 08/13/2015 03:32 PM Subject: Re: [openstack-dev] [magnum]problems for horizontal scale

Re: [openstack-dev] [magnum]problems for horizontal scale

2015-08-12 Thread 王华
any comments on this? On Wed, Aug 12, 2015 at 2:50 PM, 王华 wanghua.hum...@gmail.com wrote: Hi All, In order to prevent race conditions due to multiple conductors, my solution is as blew: 1. remove the db operation in bay_update to prevent race conditions.Stack operation is atomic. Db

Re: [openstack-dev] [magnum]problems for horizontal scale

2015-08-12 Thread Kai Qiang Wu
@lists.openstack.org Date: 08/13/2015 11:31 AM Subject:Re: [openstack-dev] [magnum]problems for horizontal scale any comments on this? On Wed, Aug 12, 2015 at 2:50 PM, 王华 wanghua.hum...@gmail.com wrote: Hi All, In order to prevent race conditions due to multiple conductors, my solution

[openstack-dev] [magnum]problems for horizontal scale

2015-08-12 Thread 王华
Hi All, In order to prevent race conditions due to multiple conductors, my solution is as blew: 1. remove the db operation in bay_update to prevent race conditions.Stack operation is atomic. Db operation is atomic. But the two operations together are not atomic.So the data in the db may be wrong.