Nitin Mehta created CLOUDSTACK-3039:
---------------------------------------
Summary: Failed to attach volumes for clusters with id > 127
Key: CLOUDSTACK-3039
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3039
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Reporter: Nitin Mehta
Failed to attach volumes for clusters with id > 128
The reason is because we use Java == than the equals for comparing Long object.
This operation works till 127 because of JVM optimization where it precreates
objects from -127 to 128 and passes the same reference instead of creating a
new instance every time
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira