[kepler-dev] cache file name
Jing Tao
tao at nceas.ucsb.edu
Tue Nov 15 14:49:59 PST 2005
Yep, attaching random number is a simple tmp solution, I think.
Jing
Jing Tao
National Center for Ecological
Analysis and Synthesis (NCEAS)
735 State St. Suite 204
Santa Barbara, CA 93101
On Tue, 15 Nov 2005, Efrat Frank wrote:
> Date: Tue, 15 Nov 2005 13:59:08 -0800
> From: Efrat Frank <efrat at sdsc.edu>
> To: Jing Tao <tao at nceas.ucsb.edu>
> Cc: kepler-dev at ecoinformatics.org
> Subject: Re: [kepler-dev] cache file name
>
> How about concatanating a random number to the timestamp as a temporary
> solution?
>
> - Efrat
>
> Jing Tao wrote:
>
>> Hi devs:
>>
>> Just now Dan and I found a bug for cache file name. Currently after
>> download a doc, the cache manager will assign it a name. The name come from
>> download time (by milli seconds) with file extension ".dat". It worked fine
>> for a while.
>>
>> But dan got a fast machine, then issues came out: it seems when he tried to
>> open a workflow (there are 10 data resource actors there), two documents
>> can be download at exactly same time and manager assigned same cache file
>> name to them. One will overwrite another one. Two different data source
>> will point to same chache file.
>>
>> I think we should need another mechanism to assign cache file name.
>>
>> Thanks,
>>
>> Jing
>>
>> Jing Tao
>> National Center for Ecological
>> Analysis and Synthesis (NCEAS)
>> 735 State St. Suite 204
>> Santa Barbara, CA 93101
>> _______________________________________________
>> Kepler-dev mailing list
>> Kepler-dev at ecoinformatics.org
>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>>
>
More information about the Kepler-dev
mailing list