GitHub user bhaisaab opened a pull request: https://github.com/apache/cloudstack/pull/52
CLOUDSTACK-6212: Let vm_instance table's ID field be unique and auto_inc... ...rement `vm_instance` table's id column is unique but does not auto_increment like other resource tables. The fix simply alter the table's id column to have it auto_increment which may avoid id conflicts in a multi-master mysql setup. Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/cloudstack hotfix/CLOUDSTACK-6212 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/52.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #52 ---- commit e1e5e12aaa649c05f2d5bebe1bdaec00e284dcf0 Author: Rohit Yadav <rohit.ya...@shapeblue.com> Date: 2014-12-06T00:24:39Z CLOUDSTACK-6212: Let vm_instance table's ID field be unique and auto_increment `vm_instance` table's id column is unique but does not auto_increment like other resource tables. The fix simply alter the table's id column to have it auto_increment which may avoid id conflicts in a multi-master mysql setup. Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---