[kepler-dev] [Bug 4584] New: - CacheManager.getObject(KeplerLSID lsid) returns an object with the wrong LSID
bugzilla-daemon at ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Wed Nov 25 13:03:15 PST 2009
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4584
Summary: CacheManager.getObject(KeplerLSID lsid) returns an
object with the wrong LSID
Product: Kepler
Version: 1.x dev
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: aschultz at nceas.ucsb.edu
ReportedBy: aschultz at nceas.ucsb.edu
QAContact: kepler-dev at kepler-project.org
It seems that objects returned by the CacheManager.getObject(KeplerLSID lsid)
method do not always have the right LSID... There is a lot of funny
translation and things going on with the CacheObjects. This mechanism of
storing a serialized CacheObject that contains metadata about the object in
addition to the object itself is inherently fragile. I would propose that we
do away with CacheObjects and use the SQL database to store metadata about
objects and serialize them directly to files (instead of serializing their
CacheObject counterparts). This would greatly reduce the complexity of the
system.
More information about the Kepler-dev
mailing list