You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/workflow.go
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -793,18 +793,26 @@ type WorkflowInfo struct {
793
793
ParentWorkflowExecution*WorkflowExecution
794
794
Memo*s.Memo// Value can be decoded using data converter (DefaultDataConverter, or custom one if set).
795
795
SearchAttributes*s.SearchAttributes// Value can be decoded using DefaultDataConverter.
796
-
BinaryChecksum*string
796
+
BinaryChecksum*string// The identifier(generated by md5sum by default) of worker code that is making the current decision(can be used for auto-reset feature)
797
+
DecisionStartedEventIDint64// the eventID of DecisionStarted that is making the current decision(can be used for reset API)
797
798
RetryPolicy*s.RetryPolicy
798
799
}
799
800
800
801
// GetBinaryChecksum returns the binary checksum(identifier) of this worker
802
+
// It is the identifier(generated by md5sum by default) of worker code that is making the current decision(can be used for auto-reset feature)
803
+
// In replay mode, it's from DecisionTaskCompleted event. In non-replay mode, it's from the currently executing worker.
// GetDecisionCompletedEventID returns the eventID of DecisionStartedEvent that is making the current decision(can be used for reset API: decisionFinishEventID = DecisionStartedEventID + 1)
0 commit comments