Azure-Samples / Azure-Samples/azure-batch-samples

OnAllTasksComplete.TerminateJob inconsistent

Open
#319 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
268
Forks
478
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.