FileUploadServiceCleaner deletes "outdated" job which is currently in use

Steps to reproduce

Steps to reproduce:
1. Upload a (big) video just before the FileUploadServiceCleaner starts to clean (every hour I guess)

Actual Results:
The FileUploadServiceCleaner deletes jobs that are currently in use and the upload fails (I already uploaded 31/50 100 MB-chunks...).

2013-05-17 15:43:11 INFO (FileUploadServiceImpl:131) - Creating new upload job: FileUploadJob(id=042f64fd-450e-40d3-b4d3-1ec049ba2b6f, filename=dozent.mpg)
2013-05-17 15:46:00 INFO (FileUploadServiceCleaner$Runner:108) - Start file upload service cleaner
2013-05-17 15:46:01 INFO (FileUploadServiceImpl:208) - Deleted outdated job 042f64fd-450e-40d3-b4d3-1ec049ba2b6f
2013-05-17 15:46:01 INFO (FileUploadServiceCleaner$Runner:114) - Finished file upload service cleaner
2013-05-17 15:46:01 WARN (FileUploadRestService:214) - Upload job not found: 042f64fd-450e-40d3-b4d3-1ec049ba2b6f

Expected Results:
The FileUploadServiceCleaner does not delete jobs which are currently in use

Status

Assignee

Benjamin Wulff

Reporter

Denis Meyer

Severity

Non Functioning

Tags (folksonomy)

None

Components

Fix versions

Affects versions

1.4.0

Priority

Blocker
Configure