Azure / Azure/durabletask

Support CancellationTokens for cancelling running operations

Open
#565 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.7k
Forks
335
Avg merge
2d 23h
Merged PRs (30d)
6

Description

Being a public SDK, all externally visible interfaces should support operation cancellation (unless it will send the system into a broken state). We have at times seen it take a long time for blob upload causing us at times to cancel it (because we aren't sure at that point if it is simply stuck or just being insanely slow). Retrying to queue an orchestration at this point at times results into having multiple orchestrations . This would at times be fine, but if the orchestration has been picked up for processing, by the time orchestration is re-queued, operations might already have been executed.

This is just one example. There are other examples like shutting down of service etc where various operations might need to be cancellled.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.