You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rajani Karuturi (JIRA)" <ji...@apache.org> on 2015/08/04 11:44:04 UTC

[jira] [Updated] (CLOUDSTACK-8706) id of the regions table is not an autoincrement

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-8706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajani Karuturi updated CLOUDSTACK-8706:
----------------------------------------
    Description: 
This cannot be autoincrement as region ids must be in sync across installs and hence is accepted as input to the addregions api. 

It is not a good practise to override id for this purpose. another column 'regionId' should to be created and used.

It caused regression(CLOUDSTACK-8696) when autoincrement was added on this field (commit: eb666453f3bd4f9ff06d12fad94bf7a2ca427099)

  was:
This cannot be autoincrement as region ids must be in sync across installs and hence is accepted as input to the addregions api. 

It is not a good practise to override id for this purpose. another column 'regionId' should to be created and used.

It caused regression(CLOUDSTACK-8696) when autoincrement was added on this field


> id of the regions table is not an autoincrement
> -----------------------------------------------
>
>                 Key: CLOUDSTACK-8706
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8706
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Rajani Karuturi
>
> This cannot be autoincrement as region ids must be in sync across installs and hence is accepted as input to the addregions api. 
> It is not a good practise to override id for this purpose. another column 'regionId' should to be created and used.
> It caused regression(CLOUDSTACK-8696) when autoincrement was added on this field (commit: eb666453f3bd4f9ff06d12fad94bf7a2ca427099)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)