Skip to content

Commit 891b237

Browse files
support rewind in DTS (#60)
* add fields for implementing suborchestration rewind in DTS * tags are now being added to SubOrchestrationInstanceCreatedEvent in DurableTask.Core, so they are not backend-specific anymore
1 parent b7e260a commit 891b237

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

protos/orchestrator_service.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ message SubOrchestrationInstanceCreatedEvent {
115115
google.protobuf.StringValue version = 3;
116116
google.protobuf.StringValue input = 4;
117117
TraceContext parentTraceContext = 5;
118+
map<string, string> tags = 6;
118119
}
119120

120121
message SubOrchestrationInstanceCompletedEvent {
@@ -225,6 +226,11 @@ message ExecutionRewoundEvent {
225226
google.protobuf.StringValue parentExecutionId = 2; // used only for rewinding suborchestrations, null otherwise
226227
google.protobuf.StringValue instanceId = 3; // used only for rewinding suborchestrations, null otherwise
227228
TraceContext parentTraceContext = 4; // used only for rewinding suborchestrations, null otherwise
229+
google.protobuf.StringValue name = 5; // used by DTS backend only
230+
google.protobuf.StringValue version = 6; // used by DTS backend only
231+
google.protobuf.StringValue input = 7; // used by DTS backend only
232+
ParentInstanceInfo parentInstance = 8; // used by DTS backend only
233+
map<string, string> tags = 9; // used by DTS backend only
228234
}
229235

230236
message HistoryEvent {

0 commit comments

Comments
 (0)