Skip to content
Snippets Groups Projects
Commit e28e7efb authored by Danny Auble's avatar Danny Auble
Browse files

tested with 404 contains code for future versions.

parent 4075bfa6
No related branches found
No related tags found
No related merge requests found
...@@ -135,8 +135,11 @@ static int _remove_job(db_job_id_t job_id) ...@@ -135,8 +135,11 @@ static int _remove_job(db_job_id_t job_id)
/* Cancel or remove the job */ /* Cancel or remove the job */
if (job_state == RM_JOB_RUNNING) { if (job_state == RM_JOB_RUNNING) {
(void) jm_signal_job(job_id, SIGKILL); debug("I am sending the signal to job %d\n",job_id);
jm_signal_job(job_id, SIGKILL);
debug("I just sent the signal to job %d\n",job_id);
rc = jm_cancel_job(job_id); rc = jm_cancel_job(job_id);
debug("I just tried to cancel job %d\n",job_id);
} else } else
rc = rm_remove_job(job_id); rc = rm_remove_job(job_id);
if (rc != STATUS_OK) { if (rc != STATUS_OK) {
......
...@@ -683,7 +683,16 @@ static int _delete_old_partitions(void) ...@@ -683,7 +683,16 @@ static int _delete_old_partitions(void)
part_name); part_name);
continue; continue;
} }
debug("removing the jobs on partition %s\n",
(char *)part_name);
term_jobs_on_part(part_name);
debug("destroying %s\n",(char *)part_name);
rc = bgl_free_partition(part_name);
rm_remove_partition(part_name); rm_remove_partition(part_name);
debug("done\n");
//sleep(3); //sleep(3);
//debug("Removed Freed Partition %s",part_name); //debug("Removed Freed Partition %s",part_name);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment