-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Implement a rewind to point functionality where you chose the point in history that you want to rewind to.
Algorithm:
- Find last execution
- Retrieve all events from last execution
- Replace all events after the desired point by generic nop events
- For every removed event of types: TaskCompleted, TaskFailed:
- Find the corresponding TaskScheduled event and add it to activity queue
- For every removed event of type: TimerFired
- Find the corresponding TimerCreated event and add it to orchestration queue
- For every removed event of types: SubOrchestrationInstanceCompleted, SubOrchestrationInstanceFailed:
- Find the corresponding SubOrchestrationInstanceCreated event and add it to orchestration queue.
- If it is a suborchestration, rewind parent orchestration from the suborchestration completed/failed event forward
Concerns:
- Would this repeat the instanceId of suborchestrations and give it a new execution?
Metadata
Metadata
Assignees
Labels
No labels