How does restartability happen within the StartLoop and Endloop stages of a a sequencer? Let's say we have 5 stages within the StartLoop and EndLoop stages. If the job fails on the second stage, would during restart,
the loop counter be preserve? Has anybody done something like this?
Restartability within the StartLoop and Endloop stages
Moderators: chulett, rschirm, roy
They most certainly are restartable with checkpointing enabled, we're doing that now. I can vouch for the fact that it will pick up from the failed job in the loop, just like it would for any other sequence of objects in a Sequence job.
I cannot, however, confirm if the loop counter would be smart enough to pick up where it left off. In my case, the loop counter I'm using doesn't do anything except force it to loop until a routine in the loop decides it is time to exit the loop. I've never tested the counter value during failures as I haven't needed to yet - in my case it didn't matter.
That being said, I'd suggest you build yourself a small test 'harness', a little loop that dies after X loops and then restart it and see what happens. Best way to learn is to do, as they say.
I cannot, however, confirm if the loop counter would be smart enough to pick up where it left off. In my case, the loop counter I'm using doesn't do anything except force it to loop until a routine in the loop decides it is time to exit the loop. I've never tested the counter value during failures as I haven't needed to yet - in my case it didn't matter.
That being said, I'd suggest you build yourself a small test 'harness', a little loop that dies after X loops and then restart it and see what happens. Best way to learn is to do, as they say.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: