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 Wed, 12 Feb 2014 23:12:19 GMT

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

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

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

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


> 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