Skip to content

Commit 73592a8

Browse files
sophiatevSophia Tevosyan
andauthored
Add Rewind to .NET Isolated (#52)
* first commit * adding failure reason to rewind respones * typo * added the history and orchestration rewind action messages * fixed a typo * added a rewinding orchestration status * changed the instance ID field to an OrchestrationInstance field in the rewind event * removed the input from the rewind event * making the name field be nullable * added more fields to suborchestration instance created event * removing rewind orchestration action * reducing fields in executionrewound and suborchestrationinstancecreated events * removed the tags field from suborchestrationinstancecreated * reverting to old RewindInstanceResponse * added trace context field to execution rewound event * removing rewind orchestration status --------- Co-authored-by: Sophia Tevosyan <stevosyan@microsoft.com>
1 parent d85fb9b commit 73592a8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

protos/orchestrator_service.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,13 @@ message EntityLockGrantedEvent {
220220
string criticalSectionId = 1;
221221
}
222222

223+
message ExecutionRewoundEvent {
224+
google.protobuf.StringValue reason = 1;
225+
google.protobuf.StringValue parentExecutionId = 2; // used only for rewinding suborchestrations, null otherwise
226+
google.protobuf.StringValue instanceId = 3; // used only for rewinding suborchestrations, null otherwise
227+
TraceContext parentTraceContext = 4; // used only for rewinding suborchestrations, null otherwise
228+
}
229+
223230
message HistoryEvent {
224231
int32 eventId = 1;
225232
google.protobuf.Timestamp timestamp = 2;
@@ -251,6 +258,7 @@ message HistoryEvent {
251258
EntityLockRequestedEvent entityLockRequested = 27;
252259
EntityLockGrantedEvent entityLockGranted = 28;
253260
EntityUnlockSentEvent entityUnlockSent = 29;
261+
ExecutionRewoundEvent executionRewound = 30;
254262
}
255263
}
256264

0 commit comments

Comments
 (0)