File tree 6 files changed +0
-8
lines changed
service/history/replication
6 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -592,7 +592,6 @@ func FromHistoryTaskV2Attributes(t *types.HistoryTaskV2Attributes) *adminv1.Hist
592
592
return nil
593
593
}
594
594
return & adminv1.HistoryTaskV2Attributes {
595
- TaskId : t .TaskID ,
596
595
DomainId : t .DomainID ,
597
596
WorkflowExecution : FromWorkflowRunPair (t .WorkflowID , t .RunID ),
598
597
VersionHistoryItems : FromVersionHistoryItemArray (t .VersionHistoryItems ),
@@ -606,7 +605,6 @@ func ToHistoryTaskV2Attributes(t *adminv1.HistoryTaskV2Attributes) *types.Histor
606
605
return nil
607
606
}
608
607
return & types.HistoryTaskV2Attributes {
609
- TaskID : t .TaskId ,
610
608
DomainID : t .DomainId ,
611
609
WorkflowID : ToWorkflowID (t .WorkflowExecution ),
612
610
RunID : ToRunID (t .WorkflowExecution ),
Original file line number Diff line number Diff line change @@ -300,7 +300,6 @@ func FromHistoryTaskV2Attributes(t *types.HistoryTaskV2Attributes) *replicator.H
300
300
return nil
301
301
}
302
302
return & replicator.HistoryTaskV2Attributes {
303
- TaskId : & t .TaskID ,
304
303
DomainId : & t .DomainID ,
305
304
WorkflowId : & t .WorkflowID ,
306
305
RunId : & t .RunID ,
@@ -316,7 +315,6 @@ func ToHistoryTaskV2Attributes(t *replicator.HistoryTaskV2Attributes) *types.His
316
315
return nil
317
316
}
318
317
return & types.HistoryTaskV2Attributes {
319
- TaskID : t .GetTaskId (),
320
318
DomainID : t .GetDomainId (),
321
319
WorkflowID : t .GetWorkflowId (),
322
320
RunID : t .GetRunId (),
Original file line number Diff line number Diff line change @@ -307,7 +307,6 @@ func (v *GetReplicationMessagesResponse) GetMessagesByShard() (o map[int32]*Repl
307
307
308
308
// HistoryTaskV2Attributes is an internal type (TBD...)
309
309
type HistoryTaskV2Attributes struct {
310
- TaskID int64 `json:"taskId,omitempty"`
311
310
DomainID string `json:"domainId,omitempty"`
312
311
WorkflowID string `json:"workflowId,omitempty"`
313
312
RunID string `json:"runId,omitempty"`
Original file line number Diff line number Diff line change @@ -129,7 +129,6 @@ var (
129
129
VersionHistory : & VersionHistory ,
130
130
}
131
131
HistoryTaskV2Attributes = types.HistoryTaskV2Attributes {
132
- TaskID : TaskID ,
133
132
DomainID : DomainID ,
134
133
WorkflowID : WorkflowID ,
135
134
RunID : RunID ,
Original file line number Diff line number Diff line change @@ -2406,7 +2406,6 @@ func (s *NDCIntegrationTestSuite) applyEventsThroughFetcher(
2406
2406
TaskType : & taskType ,
2407
2407
SourceTaskID : 1 ,
2408
2408
HistoryTaskV2Attributes : & types.HistoryTaskV2Attributes {
2409
- TaskID : 1 ,
2410
2409
DomainID : s .domainID ,
2411
2410
WorkflowID : workflowID ,
2412
2411
RunID : runID ,
Original file line number Diff line number Diff line change @@ -529,7 +529,6 @@ func (t *taskAckManagerImpl) generateHistoryReplicationTask(
529
529
replicationTask := & types.ReplicationTask {
530
530
TaskType : types .ReplicationTaskType .Ptr (types .ReplicationTaskTypeHistoryV2 ),
531
531
HistoryTaskV2Attributes : & types.HistoryTaskV2Attributes {
532
- TaskID : task .FirstEventID ,
533
532
DomainID : task .DomainID ,
534
533
WorkflowID : task .WorkflowID ,
535
534
RunID : task .RunID ,
You can’t perform that action at this time.
0 commit comments