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: backend/runtimestate.go
+23-13Lines changed: 23 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,11 @@ var (
18
18
)
19
19
20
20
typeOrchestrationRuntimeStatestruct {
21
-
instanceIDapi.InstanceID
22
-
committedEvents []*protos.HistoryEvent
23
-
pendingEvents[]*protos.HistoryEvent
24
-
newEvents[]*protos.HistoryEvent
25
-
newActions[]*protos.OrchestratorAction
21
+
instanceID api.InstanceID
22
+
oldEvents []*protos.HistoryEvent
23
+
pendingEvents []*protos.HistoryEvent
24
+
newEvents []*protos.HistoryEvent
25
+
newActions []*protos.OrchestratorAction
26
26
27
27
startEvent*protos.ExecutionStartedEvent
28
28
completedEvent*protos.ExecutionCompletedEvent
@@ -46,18 +46,21 @@ type OrchestratorMessage struct {
46
46
// See https://github.com/microsoft/durabletask-go/issues/44 for more details.
47
47
typeChunkingConfigurationstruct {
48
48
// MaxHistoryEventCount is the maximum number of history events that can be stored in a single chunk.
49
+
// If the number of history events exceeds this value, the history events will be saved in multiple chunks that are each less than or equal to this value.
49
50
// A value of 0 or less means that there is no limit.
50
51
MaxHistoryEventCountint
51
52
// MaxHistoryEventSizeInKB is the maximum size of a single chunk in kilobytes.
52
53
// For example, a max size of 2MB would be specified as 2048.
54
+
// If the aggregate size of a batch of history events exceeds this value, the history events will be saved in multiple chunks that are each less than or equal to this size.
55
+
// If the size of a single history event exceeds this value, the orchestration will fail.
53
56
// A value of 0 or less means that there is no limit.
0 commit comments