Skip to content

Commit

Permalink
TRQ-1653. Job arrays weren't being allowed to depend on regular jobs.…
Browse files Browse the repository at this point in the history
… This change was made due to my confusion and is a problem for customers, so now it is reverted.
  • Loading branch information
David Beer committed Mar 29, 2013
1 parent f5cd910 commit 5ced418
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
c - crash b - bug fix e - enhancement f - new feature n - note

4.2.3
b - TRQ-1653. Arrays depending on non-array jobs was broken. Fix this.

4.2.2
b - Make job_starter work for parallel jobs as well as serial. (TRQ-1577 - thanks
Expand Down
10 changes: 0 additions & 10 deletions src/server/req_register.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,16 +904,6 @@ int req_registerarray(

type = preq->rq_ind.rq_register.rq_dependtype;

if (type < JOB_DEPEND_TYPE_AFTERSTARTARRAY)
{
unlock_ai_mutex(pa, __func__, "1", LOGLEVEL);
rc = PBSE_IVALREQ;
req_reject(rc,0,preq,NULL,
"Arrays may only be given array dependencies");

return(rc);
}

/* register the dependency on the array */

switch (preq->rq_ind.rq_register.rq_op)
Expand Down

0 comments on commit 5ced418

Please sign in to comment.