[torquedev] [Bug 82] Unnecessary code in send_job

bugzilla-daemon at supercluster.org bugzilla-daemon at supercluster.org
Mon Nov 22 19:01:14 MST 2010


--- Comment #4 from Glen <glen.beane at gmail.com> 2010-11-22 19:01:14 MST ---
(In reply to comment #3)
> (In reply to comment #2)
> > job_purge() changes and deletes files on disk. It doesn't matter if it is
> > called from a child process; it is still an important function.
> > 
> > There might be some bug or not. I don't know. I'm not commenting on that. I'm
> > just saying that the requirement for job_purge is not invalidated by being
> > called from a child process.
> this is a good point, we need to make sure that the files associated with the
> job get cleaned up, but the parent process must call job_purge() at some point,
> otherwise the job would persist in the parent process's linked lists
> indefinitely (until a reboot, at which time the job would not be recovered
> because the job_purge called by the child removed the files).

not making this change until this can be investigated further.  It definitely
sounds like a bug since the job could be referenced after the job_purge.

Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the torquedev mailing list