[ 
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)

Reply via email to