Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
338 changes: 169 additions & 169 deletions api/historyservice/v1/request_response.pb.go

Large diffs are not rendered by default.

158 changes: 79 additions & 79 deletions api/matchingservice/v1/request_response.pb.go

Large diffs are not rendered by default.

429 changes: 215 additions & 214 deletions api/persistenceblobs/v1/message.pb.go

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions api/replication/v1/message.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

104 changes: 52 additions & 52 deletions api/token/v1/message.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/archiver/historyIterator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -741,5 +741,5 @@ func (s *HistoryIteratorSuite) TestJSONSizeEstimator() {

size, err := e.EstimateSize(h)
s.NoError(err)
s.Equal(268, size)
s.Equal(266, size)
}
12 changes: 6 additions & 6 deletions common/log/tag/tags.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ func WorkflowSize(workflowSize int64) Tag {
}

// WorkflowSignalCount returns tag for SignalCount
func WorkflowSignalCount(signalCount int32) Tag {
return newInt32("wf-signal-count", signalCount)
func WorkflowSignalCount(signalCount int64) Tag {
return newInt64("wf-signal-count", signalCount)
}

// WorkflowHistorySize returns tag for HistorySize
Expand Down Expand Up @@ -554,8 +554,8 @@ func TimerTaskStatus(timerTaskStatus int32) Tag {
// retry

// Attempt returns tag for Attempt
func Attempt(attempt int64) Tag {
return newInt64("attempt", attempt)
func Attempt(attempt int32) Tag {
return newInt32("attempt", attempt)
}

// AttemptCount returns tag for AttemptCount
Expand All @@ -574,8 +574,8 @@ func AttemptEnd(attemptEnd time.Time) Tag {
}

// ScheduleAttempt returns tag for ScheduleAttempt
func ScheduleAttempt(scheduleAttempt int64) Tag {
return newInt64("schedule-attempt", scheduleAttempt)
func ScheduleAttempt(scheduleAttempt int32) Tag {
return newInt32("schedule-attempt", scheduleAttempt)
}

// ElasticSearch
Expand Down
4 changes: 2 additions & 2 deletions common/persistence/cassandra/cassandraPersistenceUtil.go
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ func createTimerTasks(

for _, task := range timerTasks {
eventID := int64(0)
attempt := int64(1)
attempt := int32(1)

timeoutType := enumspb.TIMEOUT_TYPE_UNSPECIFIED
workflowBackoffType := enumsspb.WORKFLOW_BACKOFF_TYPE_UNSPECIFIED
Expand All @@ -898,7 +898,7 @@ func createTimerTasks(

case *p.ActivityRetryTimerTask:
eventID = t.EventID
attempt = int64(t.Attempt)
attempt = t.Attempt

case *p.WorkflowBackoffTimerTask:
eventID = t.EventID
Expand Down
10 changes: 5 additions & 5 deletions common/persistence/dataInterfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,13 @@ type (
StartTimestamp time.Time
LastUpdatedTimestamp time.Time
CreateRequestID string
SignalCount int32
SignalCount int64
WorkflowTaskVersion int64
WorkflowTaskScheduleID int64
WorkflowTaskStartedID int64
WorkflowTaskRequestID string
WorkflowTaskTimeout int64
WorkflowTaskAttempt int64
WorkflowTaskAttempt int32
WorkflowTaskStartedTimestamp int64
WorkflowTaskScheduledTimestamp int64
WorkflowTaskOriginalScheduledTimestamp int64
Expand Down Expand Up @@ -333,7 +333,7 @@ type (
VisibilityTimestamp time.Time
TaskID int64
EventID int64
ScheduleAttempt int64
ScheduleAttempt int32
TimeoutType enumspb.TimeoutType
Version int64
}
Expand Down Expand Up @@ -394,7 +394,7 @@ type (
TaskID int64
TimeoutType enumspb.TimeoutType
EventID int64
Attempt int64
Attempt int32
Version int64
}

Expand All @@ -412,7 +412,7 @@ type (
TaskID int64
EventID int64
Version int64
Attempt int64
Attempt int32
}

// WorkflowBackoffTimerTask to schedule first workflow task for retried workflow
Expand Down
Loading