Commit a87e1c9
authored
RerunParentInstanceInfo (#22)
* RerunParentInstanceInfo
Adds a new message to orchestrator_service.proto to track parent
orchestration instance info for rerun operations.
Adds this message as an optional field to the two events which can be
rerun from- `TimerCreatedEvent` and `TaskScheduledEvent`.
```proto
// RerunParentInstanceInfo is used to indicate that this orchestration was
// started as part of a rerun operation. Contains information about the parent
// orchestration instance which was rerun.
message RerunParentInstanceInfo {
// instanceID is the orchestration instance ID this orchestration has been
// rerun from.
string instanceID = 1;
}
message TimerCreatedEvent {
google.protobuf.Timestamp fireAt = 1;
optional string name = 2;
// If defined, indicates that this task was scheduled as part of a rerun
// operation.
optional RerunParentInstanceInfo rerunParentInstanceInfo = 3;
}
message TaskScheduledEvent {
string name = 1;
google.protobuf.StringValue version = 2;
google.protobuf.StringValue input = 3;
TraceContext parentTraceContext = 4;
string taskExecutionId = 5;
// If defined, indicates that this task was scheduled as part of a rerun
// operation.
optional RerunParentInstanceInfo rerunParentInstanceInfo = 6;
}
```
Signed-off-by: joshvanl <[email protected]>
* Comment: be more explicit of the rerun
Signed-off-by: joshvanl <[email protected]>
---------
Signed-off-by: joshvanl <[email protected]>1 parent 6fc6b3e commit a87e1c9
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
70 | 79 | | |
71 | 80 | | |
72 | 81 | | |
| |||
102 | 111 | | |
103 | 112 | | |
104 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
105 | 118 | | |
106 | 119 | | |
107 | 120 | | |
| |||
137 | 150 | | |
138 | 151 | | |
139 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
140 | 157 | | |
141 | 158 | | |
142 | 159 | | |
| |||
0 commit comments