cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Mehta <Nitin.Me...@citrix.com>
Subject Re: randomlyIncreasingVMInstanceDaoImpl used instead of UserVmDaoImpl
Date Wed, 20 Feb 2013 06:31:38 GMT
Would it break something ? And are the other resources like volumes,
snapshots following the same logic as well ?

Thanks,
-Nitin

On 20/02/13 11:45 AM, "Kishan Kavala" <Kishan.Kavala@citrix.com> wrote:

>Kelven,
>randomlyIncreasingVMInstanceDaoImpl is being used instead of
>UserVmDaoImpl in ComponentContext.xml. Was this change intentional?
>
>  <bean id="randomlyIncreasingVMInstanceDaoImpl"
>class="com.cloud.vm.dao.RandomlyIncreasingVMInstanceDaoImpl" />
>
>Vm DB Ids increase randomly as a result.
>
>mysql> select id from vm_instance;
>+----+
>| id |
>+----+
>|  1 |
>|  2 |
>|  3 |
>| 11 |
>| 12 |
>| 13 |
>| 14 |
>| 21 |
>| 25 |
>| 30 |
>| 38 |
>| 45 |
>| 52 |
>| 56 |
>| 60 |
>| 68 |
>| 73 |
>| 79 |
>| 80 |
>| 81 |
>| 82 |
>| 83 |
>+----+
>22 rows in set (0.00 sec)
>
>
>Regards,
>Kishan
>


Mime
View raw message