Skip to content

Commit a088915

Browse files
committed
Added FROZEN state for workflows waiting for actor dissemination
Signed-off-by: Albert Callarisa <[email protected]>
1 parent dab4acc commit a088915

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

protos/orchestrator_service.proto

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ enum OrchestrationStatus {
6666
ORCHESTRATION_STATUS_TERMINATED = 5;
6767
ORCHESTRATION_STATUS_PENDING = 6;
6868
ORCHESTRATION_STATUS_SUSPENDED = 7;
69+
ORCHESTRATION_STATUS_FROZEN = 8;
6970
}
7071

7172
message ParentInstanceInfo {
@@ -358,7 +359,9 @@ message OrchestratorResponse {
358359
// This field is optional. If not set, the service should assume that the orchestrator processed all events.
359360
google.protobuf.Int32Value numEventsProcessed = 5;
360361

361-
optional Patches patches = 6;
362+
optional string workflowTypeName = 6;
363+
optional Patches patches = 7;
364+
bool patchMismatch = 8;
362365
}
363366

364367
message CreateInstanceRequest {

protos/runtime_state.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ message OrchestrationRuntimeState {
4242
bool isSuspended = 13;
4343

4444
google.protobuf.StringValue customStatus = 14;
45+
bool isFrozen = 15;
4546
}
4647

4748
// OrchestrationRuntimeStateMessage holds an OrchestratorMessage and the target instance ID.

0 commit comments

Comments
 (0)