Hi Dave,
See my comments inline.
-Alena.
On 11/4/12 9:49 PM, "Dave Cahill" wrote:
>Hi Alena,
>
>Thanks very much for your reply.
>
>> 1) ConfigurationServerImpl, persistDefaultValues method
>>
>> Wrap all the DB updates in "if (init == null || init.equals("false"))
>>{}"
>in the single transac
Hi Alena,
Thanks very much for your reply.
> 1) ConfigurationServerImpl, persistDefaultValues method
>
> Wrap all the DB updates in "if (init == null || init.equals("false")) {}"
in the single transaction. So we don't up with partially updated DB.
To do this, would we just add a line like this a
Dave,
This code - default network creation - is initiated only when the Global
config value "init" is false, as a part of persisting the default
cloudStack values. Init is false at the very first management server
startup, and it's reset to true after the default values are persisted.
Looks like