[DESIGN] No agent calls within database transactions....

2014-03-31 Thread Alex Huang
Hi All, I was alerted to this problem recently and it's something that affects developers so I want to bring it up. It is a design principle in CloudStack that we do not make agent calls within database transactions. The reason is because when you make a call to an external system, there's

Re: [DESIGN] No agent calls within database transactions....

2014-03-31 Thread Marcus
Yeah, that assert issue has bitten us once or twice, and I know Ryan squawked about it at some point. Do we have any point where enforcement will occur (BVT or some other tests)? On Mon, Mar 31, 2014 at 4:04 PM, Alex Huang alex.hu...@citrix.com wrote: Hi All, I was alerted to this problem

RE: [DESIGN] No agent calls within database transactions....

2014-03-31 Thread Alex Huang
and it has all of these things set already. That way QA deployment is always the same. --Alex -Original Message- From: Marcus [mailto:shadow...@gmail.com] Sent: Monday, March 31, 2014 3:15 PM To: dev@cloudstack.apache.org Subject: Re: [DESIGN] No agent calls within database transactions