Repository navigation
Commit 43060e0
grid_submit: wait until no subjob is active
This fixes a problem in the --wait and --wait-any modes of grid_submit.sh.
- AliEn can briefly report a masterjob as DONE while one of its subjobs in ERROR_A is put back to WAITING.
- --wait read only the masterjob status and returned at that moment, although the job was then retried.
- Both modes now finish only when no subjob is still active, with ERROR_A counted as active.
- A failed or empty status query also counts as active.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 0567fe5 commit 43060e0
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
457 | 464 | | |
458 | 465 | | |
459 | 466 | | |
| |||
488 | 495 | | |
489 | 496 | | |
490 | 497 | | |
491 | | - | |
492 | | - | |
| 498 | + | |
493 | 499 | | |
494 | 500 | | |
495 | 501 | | |
496 | 502 | | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
497 | 508 | | |
498 | 509 | | |
499 | 510 | | |
| |||
0 commit comments