microsoft / durabletask-mssql

Microsoft SQL storage provider for Durable Functions and the Durable Task Framework
MIT License
87 stars 32 forks source link

Relpay failed activities #157

Closed bbenameur closed 1 year ago

bbenameur commented 1 year ago

Hello,

Is there a features to replay only failed activities on the orchestrations?

Thanks

cgillum commented 1 year ago

When you call an activity, you can provide a retry policy, if that's what you're asking. With the retry policy, you can have failed activities retry based on some configuration, including backoff intervals, etc.

bbenameur commented 1 year ago

No it's not about a retry policy, i mean for example i have an orchestration with id xxxxxx, that contain the 2 first activties was successed and 3 other failed, when Replay all orchestration with ID, orchestration should start from failed acitivities, it's like a restart orchestration but it should start from failed activities.

bhugot commented 1 year ago

It s rewind

cgillum commented 1 year ago

Indeed, this sounds like a description of the rewind API.

bbenameur commented 1 year ago

This is exactly what i want , thanks you !