azure-batch-samples
azure-batch-samples copied to clipboard
OnAllTasksComplete.TerminateJob inconsistent
Greetings,
Trying to get OnAllTasksComplete.TerminateJob to work in a consistent manner. I'm following the recommendation of job refresh and then updating to OnAllTasksComplete.TerminateJob from it's initial DoNothing. Using .Net SDK, w/ .Net 7 Core. What I've observed is that some jobs terminate when state == complete but the majority do not.
This same recommendation is buried in a MS documentation as well: https://stackoverflow.com/questions/49488207/how-to-use-azure-batch-in-an-event-based-design-and-terminate-cleanup-finished-j
Thanks, -BC