[Bug 1508] Agent Ids and Host Ids

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Feb 26 18:09:18 UTC 2015


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1508

Severin Gehwolf <sgehwolf at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sgehwolf at redhat.com

--- Comment #2 from Severin Gehwolf <sgehwolf at redhat.com> ---
There is yet another related technical debt dating back to a time where VM
identifiers where not unique. That leads to this VmRef and the newer VmId
inconsistency.

Looking at the code there seems to be pattern: Some ID objects which get
shallowly created via user input. Then, this user input gets passed to the DB
asking "does this id exist?". If true, a stronger object gets returned. In the
VM case a VMInfo object.

Same can be said about AgentId which does not exist as an API object. I don't
think that a HostRef is the same as an AgentId. There might be two different
AgentId's mapping to the same "HostRef" where "HostRef" actually means host,
not agent.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20150226/f301e21a/attachment.html>


More information about the distro-pkg-dev mailing list