forked from flyteorg/flyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Statemachine & Status fixes (Discretization, status size... etc.) (fl…
…yteorg#49) This PR fixes a few issues uncovered during the investigation of the statemachine inconsistency issues last week. Specifically: - [X] Ensure each node can a progress at most once per round (IsDirty flag) - [X] Remove ParentTaskID and DataDir from NodeStatus field (Causing workflow etcd. obj size to bloat) - [X] Add Parent RetryAttempt in the generated hierarchal name of dynamic sub-nodes to ensure retries do not reuse an existing sub-node status. Details: https://docs.google.com/document/d/1ISaxIZeYLcBaeapEmeTqb-g0x04pJbf5t3i30qMfk6U/edit?usp=sharing
- Loading branch information
Showing
70 changed files
with
1,110 additions
and
385 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 9 additions & 7 deletions
16
pkg/apis/flyteworkflow/v1alpha1/mocks/BaseWorkflowWithStatus.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
21 changes: 14 additions & 7 deletions
21
pkg/apis/flyteworkflow/v1alpha1/mocks/ExecutableNodeStatus.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 9 additions & 7 deletions
16
pkg/apis/flyteworkflow/v1alpha1/mocks/ExecutableWorkflow.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
32 changes: 16 additions & 16 deletions
32
pkg/apis/flyteworkflow/v1alpha1/mocks/ExecutableWorkflowStatus.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.