Once an EML dataset gets an error in downloading, cache interface will keep getting same error
Somehow if an EML dataset can't get data from ecogrid server (e.g. a network glitch), kepler system will keep getting error for ever since cache system captured this error (even after restart kepler). In order to get rid of this error, we need removing cache file. This is not convenient.
So we need cache system not capture the error if an error happens.
#1 Updated by Jing Tao almost 12 years ago
In src/org/ecoinformatics/seek/datasource/EcogridDataCacheItem.java class, a cleanUpCache method was added. So if there is some errors happen during downloading, this method will be called to clean up cache. So the new downloading will be a fresh one. If the network problem was fixed in the next time downloading, the downloading will get data.
I found the query cache had the similar issue too. And it was fixed by using similar idea.