cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-6089) resource tags show up in multiples
Date Fri, 14 Feb 2014 00:12:19 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13900938#comment-13900938
] 

ASF subversion and git services commented on CLOUDSTACK-6089:
-------------------------------------------------------------

Commit 1c640448df26ac97330705ee0af04fe024ec3150 in branch refs/heads/4.3 from [~mlsorensen]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1c64044 ]

CLOUDSTACK-6089: Implement equals() method for ResourceTagResponse
so that the java Set can properly determine if a ResourceTagResponse
is unique. This ensures we don't get duplicate resource tags showing
up any time a UserVmResponse is crafted (which can be quite often
due to the way the responses are crafted).
(cherry picked from commit 06ae23710ddc3784939bcd499b7437c13495bb88)

Signed-off-by: Animesh Chaturvedi <animesh@apache.org>


> resource tags show up in multiples
> ----------------------------------
>
>                 Key: CLOUDSTACK-6089
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6089
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0, Future, 4.3.0
>            Reporter: Marcus Sorensen
>            Assignee: Marcus Sorensen
>             Fix For: Future, 4.3.0
>
>
> Due to the way user_vm_view returns multiple rows when, for instance, a vm has multiple
volumes, we're getting duplicate resource tags attached in all user vm responses. The NicResponse
works around this by implementing an equals() method so that the Set containing Nics can enforce
uniqueness, doing the same for resource tags.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message