File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
proto/internal/temporal/server/api/persistence/v1 Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -292,9 +292,11 @@ message WorkflowExecutionInfo {
292292
293293message ExecutionStats {
294294 int64 history_size = 1 ;
295- // Total size in bytes of all external payloads referenced in the workflow history.
295+ // Total size in bytes of all external payloads referenced in the entire history tree of the execution, not just the current branch.
296+ // This number doesn't include payloads in buffered events.
296297 int64 external_payload_size = 2 ;
297- // Total count of external payloads referenced in the workflow history.
298+ // Total count of external payloads referenced in the entire history tree of the execution, not just the current branch.
299+ // This number doesn't include payloads in buffered events.
298300 int64 external_payload_count = 3 ;
299301}
300302
Original file line number Diff line number Diff line change @@ -6400,7 +6400,7 @@ func (ms *MutableStateImpl) AddHistorySize(size int64) {
64006400}
64016401
64026402func (ms * MutableStateImpl ) GetExternalPayloadSize () int64 {
6403- return ms .executionInfo .ExecutionStats . ExternalPayloadSize
6403+ return ms .executionInfo .GetExecutionStats (). GetExternalPayloadSize ()
64046404}
64056405
64066406func (ms * MutableStateImpl ) AddExternalPayloadSize (size int64 ) {
@@ -6411,7 +6411,7 @@ func (ms *MutableStateImpl) AddExternalPayloadSize(size int64) {
64116411}
64126412
64136413func (ms * MutableStateImpl ) GetExternalPayloadCount () int64 {
6414- return ms .executionInfo .ExecutionStats . ExternalPayloadCount
6414+ return ms .executionInfo .GetExecutionStats (). GetExternalPayloadCount ()
64156415}
64166416
64176417func (ms * MutableStateImpl ) AddExternalPayloadCount (count int64 ) {
You can’t perform that action at this time.
0 commit comments