Either that, or we can just change the resulting error message to be
"what part of 'temporary' didn't you understand?"
:-)
On 7/31/15 10:18 AM, [email protected] wrote:
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 914 by [email protected]: Temporary Dataset gets deleted
after few minutes of creation
https://code.google.com/p/asterixdb/issues/detail?id=914
What steps will reproduce the problem?
1. create a temporary dataset in any data universe.
2. After 2-3 minutes it will be deleted unless you do anything with it.
What is the expected output? What do you see instead?
It should persist for 30 days without being accessed.
What version of the product are you using? On what operating system?
asterix-server-0.8.7. Ubuntu
Please provide any additional information below.
I figured out the reason for the problem and possible ways to solve
it. In the class, edu.uci.ics.asterix.metadata.MetadataCache in
asterix, there is a private final static long
TEMP_DATASET_INACTIVE_TIME_THRESHOLD variable on line 35. Here by
default, the thresholdis set to 30 days in miliseconds. But it
overflows, I mean the long variable. So the temporary dataset gets
garbage collected way before 30 days. Fixing this should fix the problem.