cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karuturi <>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8698: Retrieve a new device ID...
Date Thu, 06 Aug 2015 05:04:49 GMT
Github user karuturi commented on the pull request:
    Even after e5ffcab0 and this change, race condition is possible right? Let us say the
hypervisor takes time to attach and another attach command came in before this is completed.
    I think its better to persist the devidceId in the table(will set it back to null if something
fails) as soon as we generate it and also synchronising the code in getDeviceId() function
using GlobalLock

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 or file a JIRA ticket
with INFRA.

View raw message