diff --git a/api/persistence/v1/executions.pb.go b/api/persistence/v1/executions.pb.go index 7da315b84e2..5f005a394be 100644 --- a/api/persistence/v1/executions.pb.go +++ b/api/persistence/v1/executions.pb.go @@ -268,6 +268,7 @@ type WorkflowExecutionInfo struct { FirstExecutionRunId string `protobuf:"bytes,55,opt,name=first_execution_run_id,json=firstExecutionRunId,proto3" json:"first_execution_run_id,omitempty"` ExecutionStats *ExecutionStats `protobuf:"bytes,56,opt,name=execution_stats,json=executionStats,proto3" json:"execution_stats,omitempty"` WorkflowRunExpirationTime *time.Time `protobuf:"bytes,57,opt,name=workflow_run_expiration_time,json=workflowRunExpirationTime,proto3,stdtime" json:"workflow_run_expiration_time,omitempty"` + LastHistoryNodeTxnId int64 `protobuf:"varint,58,opt,name=last_history_node_txn_id,json=lastHistoryNodeTxnId,proto3" json:"last_history_node_txn_id,omitempty"` } func (m *WorkflowExecutionInfo) Reset() { *m = WorkflowExecutionInfo{} } @@ -653,6 +654,13 @@ func (m *WorkflowExecutionInfo) GetWorkflowRunExpirationTime() *time.Time { return nil } +func (m *WorkflowExecutionInfo) GetLastHistoryNodeTxnId() int64 { + if m != nil { + return m.LastHistoryNodeTxnId + } + return 0 +} + type ExecutionStats struct { HistorySize int64 `protobuf:"varint,1,opt,name=history_size,json=historySize,proto3" json:"history_size,omitempty"` } @@ -2007,206 +2015,208 @@ func init() { } var fileDescriptor_67a714d0e7ba9f37 = []byte{ - // 3182 bytes of a gzipped FileDescriptorProto + // 3210 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x3a, 0xcd, 0x73, 0xdb, 0xc6, 0xf5, 0x86, 0x45, 0x89, 0xe4, 0x23, 0x45, 0x91, 0xd0, 0x17, 0x24, 0xdb, 0x94, 0xcc, 0xd8, 0x89, 0x1c, 0x3b, 0x94, 0x2d, 0x3b, 0xdf, 0x87, 0xdf, 0xd8, 0xb2, 0x9d, 0x90,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0c, 0x59, - 0x73, 0x28, 0x03, 0xd7, 0xe9, 0x82, 0x99, 0x81, 0xa0, 0xfe, 0x52, 0x81, 0x15, 0x21, 0x86, 0x6c, - 0x85, 0x4c, 0x90, 0xf2, 0x7f, 0xa0, 0x0f, 0x3d, 0xe6, 0x96, 0xa1, 0x8f, 0x34, 0x94, 0xea, 0x63, - 0x45, 0x16, 0xc0, 0x72, 0x1e, 0x4b, 0x1a, 0x99, 0x45, 0x41, 0x5a, 0xa7, 0x13, 0x44, 0xda, 0xe3, - 0xae, 0xf3, 0x38, 0x79, 0x2f, 0x4b, 0x7e, 0x26, 0x50, 0xbd, 0x0e, 0x0b, 0x43, 0x3b, 0xb0, 0xf7, - 0x6c, 0xc7, 0x0e, 0x47, 0x92, 0x00, 0x15, 0x34, 0x2e, 0x35, 0x86, 0x09, 0x8a, 0xd5, 0x36, 0x9c, - 0x3f, 0xc9, 0x02, 0xd4, 0x2a, 0x4c, 0x1d, 0x92, 0x11, 0x46, 0x89, 0xa2, 0x4e, 0x1f, 0x69, 0x18, - 0x18, 0x1a, 0xce, 0x80, 0xf0, 0xf0, 0xc0, 0x5e, 0xde, 0x39, 0xfb, 0x96, 0xb2, 0x6a, 0xc2, 0xca, - 0xb1, 0xd7, 0x98, 0xc1, 0xe8, 0xba, 0xcc, 0xe8, 0x44, 0xbf, 0x92, 0x37, 0x89, 0x05, 0xce, 0xbc, - 0xa2, 0x53, 0x09, 0xdc, 0x82, 0x73, 0x27, 0x68, 0xf9, 0x34, 0xac, 0x1a, 0xbf, 0x3b, 0x07, 0x8b, - 0x8f, 0x78, 0x28, 0xbf, 0x27, 0xd2, 0x2e, 0x06, 0xdb, 0x8b, 0x50, 0x8e, 0x5d, 0x9f, 0x07, 0xdc, - 0xa2, 0x5e, 0x8a, 0xd6, 0x5a, 0x96, 0xba, 0x06, 0x25, 0x91, 0x06, 0x44, 0xdc, 0x2d, 0xea, 0x20, - 0x96, 0x5a, 0x96, 0xda, 0x84, 0xf9, 0xb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4a, 0x92, 0x26, 0x30, 0x0f, 0x88, 0x35, 0x70, 0x30, 0x1c, 0x2c, 0x33, - 0x1f, 0x93, 0xe9, 0x76, 0x38, 0xb8, 0x65, 0xa9, 0x6f, 0x82, 0x96, 0x22, 0xa5, 0xa7, 0x62, 0xde, - 0xac, 0x21, 0xe5, 0x62, 0x82, 0x92, 0x41, 0x5b, 0x96, 0xba, 0x93, 0x96, 0x53, 0xd8, 0xd0, 0xca, - 0x64, 0x36, 0x94, 0x38, 0x88, 0x30, 0x9e, 0xb1, 0xc3, 0x1b, 0x21, 0x75, 0xf4, 0x50, 0x5b, 0xc5, - 0xba, 0x2e, 0x41, 0x73, 0x9b, 0x81, 0x12, 0x6e, 0x98, 0x38, 0x01, 0x5e, 0xc3, 0xb9, 0x09, 0xaf, - 0x61, 0x39, 0xe3, 0x94, 0x78, 0x1f, 0x06, 0x9c, 0xcf, 0xd6, 0x2d, 0xdf, 0xe0, 0xfc, 0x84, 0x1b, - 0xac, 0x64, 0x5d, 0x00, 0xdb, 0xe2, 0x0a, 0x54, 0x4d, 0xc3, 0x35, 0x89, 0xd3, 0xf1, 0xc9, 0xe3, - 0x01, 0x09, 0x42, 0x62, 0x69, 0x17, 0xd6, 0x95, 0x8d, 0x82, 0x3e, 0xc7, 0xd6, 0x75, 0xb1, 0xac, - 0xfa, 0x70, 0x39, 0x29, 0x8d, 0xe7, 0xdb, 0xfb, 0xb6, 0x6b, 0x38, 0x69, 0xb1, 0xea, 0x13, 0x8a, - 0x75, 0x51, 0x16, 0xeb, 0x23, 0xce, 0x2c, 0x29, 0xde, 0x98, 0x89, 0x70, 0x29, 0xa9, 0x89, 0xac, - 0x61, 0x6c, 0x4c, 0x98, 0x08, 0x17, 0xb6, 0x65, 0xa9, 0xaf, 0x42, 0x2d, 0x79, 0x2e, 0x4a, 0xb1, - 0x8e, 0x14, 0xc9, 0x83, 0x31, 0xdc, 0x20, 0xb4, 0xcd, 0xc3, 0x51, 0x47, 0x0a, 0xd0, 0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 0xa8, 0x6e, - 0xb5, 0x73, 0x85, 0xad, 0xea, 0xcd, 0xc6, 0x4d, 0xa8, 0x24, 0xd5, 0x4d, 0x7d, 0x38, 0xe1, 0xa0, - 0x0a, 0xf3, 0x61, 0xc9, 0x39, 0x1b, 0xff, 0x52, 0x60, 0x69, 0xcc, 0x38, 0x29, 0x35, 0xc1, 0x04, - 0xe8, 0x13, 0x5a, 0x12, 0x4a, 0x09, 0x50, 0xe1, 0x09, 0x10, 0x01, 0x71, 0x02, 0x5c, 0x84, 0x19, - 0x6e, 0x4a, 0xac, 0xd1, 0x9b, 0xf6, 0xd1, 0x78, 0xda, 0x30, 0x4d, 0x4d, 0x86, 0x60, 0x57, 0x57, - 0xd9, 0xba, 0x95, 0x69, 0x32, 0x38, 0x09, 0xcc, 0x74, 0x12, 0x94, 0x43, 0x67, 0x2c, 0xd4, 0xfb, - 0x30, 0x43, 0x1f, 0x06, 0x01, 0xf6, 0x7c, 0x95, 0xad, 0x66, 0x52, 0x89, 0x27, 0x73, 0x19, 0x04, - 0x3a, 0xa7, 0x6e, 0xfc, 0x25, 0x07, 0x55, 0x31, 0x17, 0xc0, 0x1a, 0xfd, 0xa7, 0x6a, 0x68, 0x63, - 0x1d, 0x4c, 0xc9, 0x3a, 0xd8, 0x86, 0x22, 0xab, 0x30, 0x47, 0x7d, 0xc2, 0x45, 0x7f, 0xf9, 0x64, - 0x3d, 0x60, 0x4d, 0x39, 0xea, 0x13, 0xbd, 0x10, 0xf2, 0x27, 0xda, 0x2c, 0x87, 0x86, 0xbf, 0x4f, - 0x52, 0xcd, 0x32, 0x6b, 0x6a, 0x6b, 0x0c, 0x94, 0x6a, 0x96, 0x39, 0xbe, 0x2c, 0xf3, 0x0c, 0xeb, - 0x05, 0x19, 0x24, 0xd9, 0x2c, 0x73, 0x6c, 0x7e, 0x80, 0x3c, 0x3b, 0x3e, 0x5b, 0x64, 0x71, 0x20, - 0xd9, 0x7c, 0x16, 0xd2, 0xcd, 0xe7, 0xbb, 0xb0, 0xca, 0x59, 0x98, 0x07, 0xb6, 0x63, 0xc5, 0xdb, - 0x7a, 0xae, 0x33, 0xc2, 0x5e, 0xb5, 0xa0, 0x2f, 0x33, 0x8c, 0x6d, 0x8a, 0x20, 0x76, 0xff, 0xc8, - 0x75, 0x46, 0x54, 0xb5, 0x72, 0xcd, 0x0f, 0x68, 0xa6, 0x10, 0xc4, 0x75, 0xbe, 0x06, 0x79, 0xd1, - 0x48, 0x94, 0xd8, 0x00, 0x97, 0xbf, 0xaa, 0xcb, 0x90, 0x17, 0x0d, 0x58, 0x19, 0x21, 0x33, 0x21, - 0xeb, 0xbb, 0x5a, 0x30, 0x27, 0x8d, 0x8d, 0x30, 0x9a, 0xcc, 0x4e, 0xda, 0xd4, 0xc4, 0x84, 0x98, - 0x9f, 0xaf, 0x42, 0xcd, 0x27, 0xa6, 0xe7, 0x5b, 0x9d, 0x18, 0x80, 0x8d, 0x61, 0x41, 0xaf, 0x32, - 0xc0, 0xa7, 0xd1, 0x7a, 0xe3, 0x8f, 0x53, 0x30, 0x2f, 0x0d, 0x60, 0x7e, 0x36, 0x16, 0x26, 0xa9, - 0x78, 0x3a, 0xa9, 0xe2, 0x4b, 0x50, 0x49, 0x35, 0xaf, 0x6c, 0x50, 0x52, 0xee, 0xca, 0x8d, 0x6b, - 0x03, 0x66, 0x5d, 0xf2, 0x54, 0x42, 0x62, 0xd3, 0x91, 0x12, 0x5d, 0x14, 0x38, 0xb4, 0xa6, 0x88, - 0x0a, 0x7d, 0xdb, 0x42, 0x2b, 0xa2, 0x35, 0x85, 0x58, 0x63, 0x28, 0x7b, 0xbe, 0xe1, 0x9a, 0x07, - 0x9d, 0xd0, 0x3b, 0x24, 0xec, 0xba, 0xcb, 0x7a, 0x89, 0xad, 0xed, 0xd2, 0x25, 0x75, 0x13, 0x16, - 0x5c, 0xc2, 0xf2, 0x45, 0x02, 0x75, 0x16, 0x51, 0x6b, 0x2e, 0xa1, 0x59, 0xe0, 0x8e, 0x44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x06, 0xa1, 0x56, + 0x42, 0x41, 0x57, 0xc6, 0xcc, 0xf7, 0x2e, 0xaf, 0x9b, 0xee, 0xe4, 0x7e, 0x45, 0x23, 0x98, 0xf6, + 0x24, 0x6d, 0x1e, 0xbb, 0x8c, 0x01, 0xcd, 0x37, 0x11, 0x7b, 0x7a, 0x03, 0x82, 0x71, 0x79, 0x32, + 0xc6, 0xd1, 0x49, 0xf4, 0x41, 0xc4, 0x72, 0x0f, 0x2e, 0x58, 0xa4, 0x6b, 0x0c, 0x1c, 0xc9, 0x02, + 0x50, 0x1f, 0x82, 0xf7, 0xec, 0x64, 0xbc, 0x57, 0x39, 0x17, 0x61, 0x2d, 0xbb, 0x46, 0x70, 0x28, + 0xf6, 0x78, 0x09, 0x66, 0x83, 0xd0, 0xf0, 0xc3, 0x28, 0x85, 0xb1, 0x28, 0x53, 0xc6, 0x45, 0x91, + 0xb2, 0xae, 0x82, 0xea, 0x18, 0x41, 0xc8, 0xcd, 0x01, 0x45, 0xb0, 0x2d, 0xad, 0x86, 0x98, 0x73, + 0x14, 0x82, 0xd7, 0x45, 0xd9, 0xb6, 0x2c, 0xf5, 0x35, 0x98, 0x47, 0xe4, 0xae, 0xed, 0x47, 0x24, + 0xb6, 0xa5, 0xa9, 0xac, 0x30, 0xa0, 0xa0, 0xfb, 0x14, 0x82, 0x24, 0x2d, 0x8b, 0x46, 0x3b, 0x44, + 0xef, 0xfb, 0x9e, 0x49, 0x82, 0x80, 0x58, 0xdc, 0x72, 0xe6, 0x59, 0xb4, 0xa3, 0xb0, 0x87, 0x02, + 0xc4, 0xac, 0xe2, 0x7f, 0x00, 0x98, 0xc8, 0x98, 0xcf, 0x17, 0x26, 0xcc, 0xe7, 0x45, 0xa4, 0xc1, + 0x3c, 0xde, 0x06, 0x14, 0xa3, 0x23, 0x97, 0x18, 0x8b, 0x13, 0xb2, 0xa9, 0x50, 0xca, 0x4f, 0xe2, + 0x32, 0x63, 0x0b, 0x16, 0x93, 0x77, 0x23, 0xf4, 0xb8, 0xc4, 0x2a, 0xa7, 0x27, 0x92, 0xce, 0x85, + 0x3a, 0xdf, 0x86, 0x95, 0x24, 0x4d, 0x60, 0x1e, 0x10, 0x6b, 0xe0, 0x60, 0x38, 0x58, 0x66, 0x3e, + 0x26, 0xd3, 0xed, 0x70, 0x70, 0xcb, 0x52, 0xdf, 0x04, 0x2d, 0x45, 0x4a, 0x4f, 0xc5, 0xbc, 0x59, + 0x43, 0xca, 0xc5, 0x04, 0x25, 0x83, 0xb6, 0x2c, 0x75, 0x27, 0x2d, 0xa7, 0xb0, 0xa1, 0x95, 0xc9, + 0x6c, 0x28, 0x71, 0x10, 0x61, 0x3c, 0x63, 0x87, 0x37, 0x42, 0xea, 0xe8, 0xa1, 0xb6, 0x8a, 0x75, + 0x5d, 0x82, 0xe6, 0x36, 0x03, 0x25, 0xdc, 0x30, 0x71, 0x02, 0xbc, 0x86, 0x73, 0x13, 0x5e, 0xc3, + 0x72, 0xc6, 0x29, 0xf1, 0x3e, 0x0c, 0x38, 0x9f, 0xad, 0x5b, 0xbe, 0xc1, 0xf9, 0x09, 0x37, 0x58, + 0xc9, 0xba, 0x00, 0xb6, 0xc5, 0x15, 0xa8, 0x9a, 0x86, 0x6b, 0x12, 0xa7, 0xe3, 0x93, 0xc7, 0x03, + 0x12, 0x84, 0xc4, 0xd2, 0x2e, 0xac, 0x2b, 0x1b, 0x05, 0x7d, 0x8e, 0xad, 0xeb, 0x62, 0x59, 0xf5, + 0xe1, 0x72, 0x52, 0x1a, 0xcf, 0xb7, 0xf7, 0x6d, 0xd7, 0x70, 0xd2, 0x62, 0xd5, 0x27, 0x14, 0xeb, + 0xa2, 0x2c, 0xd6, 0x47, 0x9c, 0x59, 0x52, 0xbc, 0x31, 0x13, 0xe1, 0x52, 0x52, 0x13, 0x59, 0xc3, + 0xd8, 0x98, 0x30, 0x11, 0x2e, 0x6c, 0xcb, 0x52, 0x5f, 0x85, 0x5a, 0xf2, 0x5c, 0x94, 0x62, 0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0xdf, 0xd7, 0x95, 0xaf, + 0x8e, 0xea, 0xca, 0x6f, 0x8f, 0xea, 0xca, 0x9f, 0x8e, 0xea, 0xca, 0xb7, 0x47, 0x75, 0xe5, 0x6f, + 0x47, 0x75, 0xe5, 0x1f, 0x47, 0xf5, 0x33, 0x3f, 0x1e, 0xd5, 0x95, 0x6f, 0x7e, 0xa8, 0x9f, 0xf9, + 0xf6, 0x87, 0xfa, 0x99, 0xef, 0x7e, 0xa8, 0x9f, 0xf9, 0xfc, 0xd6, 0xbe, 0x17, 0xcb, 0x60, 0x7b, + 0xc7, 0xff, 0x6d, 0xfb, 0xae, 0xf4, 0xba, 0x37, 0x83, 0x21, 0xf8, 0xe6, 0xbf, 0x03, 0x00, 0x00, + 0xff, 0xff, 0xcc, 0xe0, 0x95, 0x9d, 0xa6, 0x2b, 0x00, 0x00, } func (this *ShardInfo) Equal(that interface{}) bool { @@ -2554,6 +2564,9 @@ func (this *WorkflowExecutionInfo) Equal(that interface{}) bool { } else if !this.WorkflowRunExpirationTime.Equal(*that1.WorkflowRunExpirationTime) { return false } + if this.LastHistoryNodeTxnId != that1.LastHistoryNodeTxnId { + return false + } return true } func (this *ExecutionStats) Equal(that interface{}) bool { @@ -3289,7 +3302,7 @@ func (this *WorkflowExecutionInfo) GoString() string { if this == nil { return "nil" } - s := make([]string, 0, 54) + s := make([]string, 0, 55) s = append(s, "&persistence.WorkflowExecutionInfo{") s = append(s, "NamespaceId: "+fmt.Sprintf("%#v", this.NamespaceId)+",\n") s = append(s, "WorkflowId: "+fmt.Sprintf("%#v", this.WorkflowId)+",\n") @@ -3373,6 +3386,7 @@ func (this *WorkflowExecutionInfo) GoString() string { s = append(s, "ExecutionStats: "+fmt.Sprintf("%#v", this.ExecutionStats)+",\n") } s = append(s, "WorkflowRunExpirationTime: "+fmt.Sprintf("%#v", this.WorkflowRunExpirationTime)+",\n") + s = append(s, "LastHistoryNodeTxnId: "+fmt.Sprintf("%#v", this.LastHistoryNodeTxnId)+",\n") s = append(s, "}") return strings.Join(s, "") } @@ -3797,6 +3811,13 @@ func (m *WorkflowExecutionInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.LastHistoryNodeTxnId != 0 { + i = encodeVarintExecutions(dAtA, i, uint64(m.LastHistoryNodeTxnId)) + i-- + dAtA[i] = 0x3 + i-- + dAtA[i] = 0xd0 + } if m.WorkflowRunExpirationTime != nil { n4, err4 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.WorkflowRunExpirationTime, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowRunExpirationTime):]) if err4 != nil { @@ -5683,6 +5704,9 @@ func (m *WorkflowExecutionInfo) Size() (n int) { l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.WorkflowRunExpirationTime) n += 2 + l + sovExecutions(uint64(l)) } + if m.LastHistoryNodeTxnId != 0 { + n += 2 + sovExecutions(uint64(m.LastHistoryNodeTxnId)) + } return n } @@ -6332,6 +6356,7 @@ func (this *WorkflowExecutionInfo) String() string { `FirstExecutionRunId:` + fmt.Sprintf("%v", this.FirstExecutionRunId) + `,`, `ExecutionStats:` + strings.Replace(this.ExecutionStats.String(), "ExecutionStats", "ExecutionStats", 1) + `,`, `WorkflowRunExpirationTime:` + strings.Replace(fmt.Sprintf("%v", this.WorkflowRunExpirationTime), "Timestamp", "types.Timestamp", 1) + `,`, + `LastHistoryNodeTxnId:` + fmt.Sprintf("%v", this.LastHistoryNodeTxnId) + `,`, `}`, }, "") return s @@ -8988,6 +9013,25 @@ func (m *WorkflowExecutionInfo) Unmarshal(dAtA []byte) error { return err } iNdEx = postIndex + case 58: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field LastHistoryNodeTxnId", wireType) + } + m.LastHistoryNodeTxnId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowExecutions + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.LastHistoryNodeTxnId |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipExecutions(dAtA[iNdEx:]) diff --git a/common/persistence/cassandra/cassandraHistoryPersistence.go b/common/persistence/cassandra/cassandraHistoryPersistence.go index 1e998eff1f0..b56feb27fac 100644 --- a/common/persistence/cassandra/cassandraHistoryPersistence.go +++ b/common/persistence/cassandra/cassandraHistoryPersistence.go @@ -43,10 +43,10 @@ import ( const ( // below are templates for history_node table v2templateUpsertData = `INSERT INTO history_node (` + - `tree_id, branch_id, node_id, txn_id, data, data_encoding) ` + - `VALUES (?, ?, ?, ?, ?, ?) ` + `tree_id, branch_id, node_id, prev_txn_id, txn_id, data, data_encoding) ` + + `VALUES (?, ?, ?, ?, ?, ?, ?) ` - v2templateReadData = `SELECT node_id, txn_id, data, data_encoding FROM history_node ` + + v2templateReadData = `SELECT node_id, prev_txn_id, txn_id, data, data_encoding FROM history_node ` + `WHERE tree_id = ? AND branch_id = ? AND node_id >= ? AND node_id < ? ` v2templateRangeDeleteData = `DELETE FROM history_node WHERE tree_id = ? AND branch_id = ? AND node_id >= ? ` @@ -108,7 +108,14 @@ func (h *cassandraHistoryV2Persistence) AppendHistoryNodes( if !request.IsNewBranch { query := h.session.Query(v2templateUpsertData, - branchInfo.TreeId, branchInfo.BranchId, request.NodeID, request.TransactionID, request.Events.Data, request.Events.EncodingType.String()) + branchInfo.TreeId, + branchInfo.BranchId, + request.NodeID, + request.PrevTransactionID, + request.TransactionID, + request.Events.Data, + request.Events.EncodingType.String(), + ) if err := query.Exec(); err != nil { return gocql.ConvertError("AppendHistoryNodes", err) } @@ -129,9 +136,20 @@ func (h *cassandraHistoryV2Persistence) AppendHistoryNodes( batch := h.session.NewBatch(gocql.LoggedBatch) batch.Query(v2templateInsertTree, - branchInfo.TreeId, branchInfo.BranchId, treeInfoDataBlob.Data, treeInfoDataBlob.EncodingType.String()) + branchInfo.TreeId, + branchInfo.BranchId, + treeInfoDataBlob.Data, + treeInfoDataBlob.EncodingType.String(), + ) batch.Query(v2templateUpsertData, - branchInfo.TreeId, branchInfo.BranchId, request.NodeID, request.TransactionID, request.Events.Data, request.Events.EncodingType.String()) + branchInfo.TreeId, + branchInfo.BranchId, + request.NodeID, + request.PrevTransactionID, + request.TransactionID, + request.Events.Data, + request.Events.EncodingType.String(), + ) if err = h.session.ExecuteBatch(batch); err != nil { return gocql.ConvertError("AppendHistoryNodes", err) } @@ -171,8 +189,9 @@ func (h *cassandraHistoryV2Persistence) ReadHistoryBranch( var data []byte var encoding string nodeID := int64(0) + prevTxnID := int64(0) txnID := int64(0) - if !iter.Scan(&nodeID, &txnID, &data, &encoding) { + if !iter.Scan(&nodeID, &prevTxnID, &txnID, &data, &encoding) { break } if txnID < lastTxnID { diff --git a/common/persistence/dataInterfaces.go b/common/persistence/dataInterfaces.go index 4fc5fb1c478..ddb2d0fd12f 100644 --- a/common/persistence/dataInterfaces.go +++ b/common/persistence/dataInterfaces.go @@ -531,6 +531,8 @@ type ( WorkflowID string RunID string BranchToken []byte + PrevTxnID int64 + TxnID int64 Events []*historypb.HistoryEvent } @@ -990,6 +992,8 @@ type ( BranchToken []byte // The batch of events to be appended. The first eventID will become the nodeID of this batch Events []*historypb.HistoryEvent + // TransactionID for events before these events. For events chaining + PrevTransactionID int64 // requested TransactionID for this write operation. For the same eventID, the node with larger TransactionID always wins TransactionID int64 } diff --git a/common/persistence/historyStore.go b/common/persistence/historyStore.go index efe1363a56c..94fff0a308e 100644 --- a/common/persistence/historyStore.go +++ b/common/persistence/historyStore.go @@ -203,13 +203,14 @@ func (m *historyV2ManagerImpl) AppendHistoryNodes( } req := &InternalAppendHistoryNodesRequest{ - IsNewBranch: request.IsNewBranch, - Info: request.Info, - BranchInfo: branch, - NodeID: nodeID, - Events: blob, - TransactionID: request.TransactionID, - ShardID: request.ShardID, + IsNewBranch: request.IsNewBranch, + Info: request.Info, + BranchInfo: branch, + NodeID: nodeID, + Events: blob, + PrevTransactionID: request.PrevTransactionID, + TransactionID: request.TransactionID, + ShardID: request.ShardID, } err = m.persistence.AppendHistoryNodes(req) diff --git a/common/persistence/persistenceInterface.go b/common/persistence/persistenceInterface.go index 4123d7001ea..ff506441559 100644 --- a/common/persistence/persistenceInterface.go +++ b/common/persistence/persistenceInterface.go @@ -340,7 +340,9 @@ type ( NodeID int64 // The events to be appended Events *commonpb.DataBlob - // Requested TransactionID for conditional update + // TransactionID for events before these events. For events chaining + PrevTransactionID int64 + // requested TransactionID for this write operation. For the same eventID, the node with larger TransactionID always wins TransactionID int64 // Used in sharded data stores to identify which shard to use ShardID int32 diff --git a/common/persistence/sql/sqlHistoryManager.go b/common/persistence/sql/sqlHistoryManager.go index 1ee60a3115f..9215f47ffd3 100644 --- a/common/persistence/sql/sqlHistoryManager.go +++ b/common/persistence/sql/sqlHistoryManager.go @@ -87,6 +87,7 @@ func (m *sqlHistoryV2Manager) AppendHistoryNodes( TreeID: treeIDBytes, BranchID: branchIDBytes, NodeID: request.NodeID, + PrevTxnID: request.PrevTransactionID, TxnID: request.TransactionID, Data: request.Events.Data, DataEncoding: request.Events.EncodingType.String(), @@ -199,7 +200,6 @@ func (m *sqlHistoryV2Manager) ReadHistoryBranch( for _, row := range rows { eventBlob := p.NewDataBlob(row.Data, row.DataEncoding) - if row.TxnID < lastTxnID { // assuming that business logic layer is correct and transaction ID only increase // thus, valid event batch will come with increasing transaction ID diff --git a/common/persistence/sql/sqlplugin/history_node.go b/common/persistence/sql/sqlplugin/history_node.go index 2fc8de0bbf8..e085298a71d 100644 --- a/common/persistence/sql/sqlplugin/history_node.go +++ b/common/persistence/sql/sqlplugin/history_node.go @@ -38,6 +38,7 @@ type ( TreeID primitives.UUID BranchID primitives.UUID NodeID int64 + PrevTxnID int64 TxnID int64 Data []byte DataEncoding string diff --git a/common/persistence/sql/sqlplugin/mysql/events.go b/common/persistence/sql/sqlplugin/mysql/events.go index 71fca9e393e..da91cfa4bb0 100644 --- a/common/persistence/sql/sqlplugin/mysql/events.go +++ b/common/persistence/sql/sqlplugin/mysql/events.go @@ -34,10 +34,10 @@ import ( const ( // below are templates for history_node table addHistoryNodesQuery = `INSERT INTO history_node (` + - `shard_id, tree_id, branch_id, node_id, txn_id, data, data_encoding) ` + - `VALUES (:shard_id, :tree_id, :branch_id, :node_id, :txn_id, :data, :data_encoding) ` + `shard_id, tree_id, branch_id, node_id, prev_txn_id, txn_id, data, data_encoding) ` + + `VALUES (:shard_id, :tree_id, :branch_id, :node_id, :prev_txn_id, :txn_id, :data, :data_encoding) ` - getHistoryNodesQuery = `SELECT node_id, txn_id, data, data_encoding FROM history_node ` + + getHistoryNodesQuery = `SELECT node_id, prev_txn_id, txn_id, data, data_encoding FROM history_node ` + `WHERE shard_id = ? AND tree_id = ? AND branch_id = ? AND node_id >= ? and node_id < ? ORDER BY shard_id, tree_id, branch_id, node_id, txn_id LIMIT ? ` deleteHistoryNodesQuery = `DELETE FROM history_node WHERE shard_id = ? AND tree_id = ? AND branch_id = ? AND node_id >= ? ` diff --git a/common/persistence/sql/sqlplugin/postgresql/events.go b/common/persistence/sql/sqlplugin/postgresql/events.go index 03bcccdd8d7..1172144d565 100644 --- a/common/persistence/sql/sqlplugin/postgresql/events.go +++ b/common/persistence/sql/sqlplugin/postgresql/events.go @@ -34,10 +34,10 @@ import ( const ( // below are templates for history_node table addHistoryNodesQuery = `INSERT INTO history_node (` + - `shard_id, tree_id, branch_id, node_id, txn_id, data, data_encoding) ` + - `VALUES (:shard_id, :tree_id, :branch_id, :node_id, :txn_id, :data, :data_encoding) ` + `shard_id, tree_id, branch_id, node_id, prev_txn_id, txn_id, data, data_encoding) ` + + `VALUES (:shard_id, :tree_id, :branch_id, :node_id, :prev_txn_id, :txn_id, :data, :data_encoding) ` - getHistoryNodesQuery = `SELECT node_id, txn_id, data, data_encoding FROM history_node ` + + getHistoryNodesQuery = `SELECT node_id, prev_txn_id, txn_id, data, data_encoding FROM history_node ` + `WHERE shard_id = $1 AND tree_id = $2 AND branch_id = $3 AND node_id >= $4 and node_id < $5 ORDER BY shard_id, tree_id, branch_id, node_id, txn_id LIMIT $6 ` deleteHistoryNodesQuery = `DELETE FROM history_node WHERE shard_id = $1 AND tree_id = $2 AND branch_id = $3 AND node_id >= $4 ` diff --git a/common/persistence/sql/sqlplugin/tests/history_node_test.go b/common/persistence/sql/sqlplugin/tests/history_node_test.go index 77704c93262..bc97d5b367f 100644 --- a/common/persistence/sql/sqlplugin/tests/history_node_test.go +++ b/common/persistence/sql/sqlplugin/tests/history_node_test.go @@ -86,9 +86,10 @@ func (s *historyNodeSuite) TestInsert_Success() { treeID := primitives.NewUUID() branchID := primitives.NewUUID() nodeID := rand.Int63() + prevTransactionID := rand.Int63() transactionID := rand.Int63() - node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, transactionID) + node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, prevTransactionID, transactionID) result, err := s.store.InsertIntoHistoryNode(newExecutionContext(), &node) s.NoError(err) rowsAffected, err := result.RowsAffected() @@ -101,16 +102,17 @@ func (s *historyNodeSuite) TestInsert_Fail_Duplicate() { treeID := primitives.NewUUID() branchID := primitives.NewUUID() nodeID := rand.Int63() + prevTransactionID := rand.Int63() transactionID := rand.Int63() - node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, transactionID) + node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, prevTransactionID, transactionID) result, err := s.store.InsertIntoHistoryNode(newExecutionContext(), &node) s.NoError(err) rowsAffected, err := result.RowsAffected() s.NoError(err) s.Equal(1, int(rowsAffected)) - node = s.newRandomNodeRow(shardID, treeID, branchID, nodeID, transactionID) + node = s.newRandomNodeRow(shardID, treeID, branchID, nodeID, prevTransactionID, transactionID) _, err = s.store.InsertIntoHistoryNode(newExecutionContext(), &node) s.Error(err) // TODO persistence layer should do proper error translation } @@ -122,9 +124,10 @@ func (s *historyNodeSuite) TestInsertSelect_Single() { treeID := primitives.NewUUID() branchID := primitives.NewUUID() nodeID := int64(1) + prevTransactionID := rand.Int63() transactionID := rand.Int63() - node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, transactionID) + node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, prevTransactionID, transactionID) result, err := s.store.InsertIntoHistoryNode(newExecutionContext(), &node) s.NoError(err) rowsAffected, err := result.RowsAffected() @@ -167,7 +170,7 @@ func (s *historyNodeSuite) TestInsertSelect_Multiple() { var nodes []sqlplugin.HistoryNodeRow for i := 0; i < numNodeIDs; i++ { for j := 0; j < nodePerNodeID; j++ { - node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, rand.Int63()) + node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, rand.Int63(), rand.Int63()) result, err := s.store.InsertIntoHistoryNode(newExecutionContext(), &node) s.NoError(err) rowsAffected, err := result.RowsAffected() @@ -276,9 +279,10 @@ func (s *historyNodeSuite) TestInsertDeleteSelect_Single() { treeID := primitives.NewUUID() branchID := primitives.NewUUID() nodeID := int64(1) + prevTransactionID := rand.Int63() transactionID := rand.Int63() - node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, transactionID) + node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, prevTransactionID, transactionID) result, err := s.store.InsertIntoHistoryNode(newExecutionContext(), &node) s.NoError(err) rowsAffected, err := result.RowsAffected() @@ -330,7 +334,7 @@ func (s *historyNodeSuite) TestInsertDeleteSelect_Multiple() { var nodes []sqlplugin.HistoryNodeRow for i := 0; i < numNodeIDs; i++ { for j := 0; j < nodePerNodeID; j++ { - node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, rand.Int63()) + node := s.newRandomNodeRow(shardID, treeID, branchID, nodeID, rand.Int63(), rand.Int63()) result, err := s.store.InsertIntoHistoryNode(newExecutionContext(), &node) s.NoError(err) rowsAffected, err := result.RowsAffected() @@ -376,6 +380,7 @@ func (s *historyNodeSuite) newRandomNodeRow( treeID primitives.UUID, branchID primitives.UUID, nodeID int64, + prevTransactionID int64, transactionID int64, ) sqlplugin.HistoryNodeRow { return sqlplugin.HistoryNodeRow{ @@ -383,6 +388,7 @@ func (s *historyNodeSuite) newRandomNodeRow( TreeID: treeID, BranchID: branchID, NodeID: nodeID, + PrevTxnID: prevTransactionID, TxnID: transactionID, Data: shuffle.Bytes(testHistoryNodeData), DataEncoding: testHistoryNodeEncoding, diff --git a/proto/internal/temporal/server/api/persistence/v1/executions.proto b/proto/internal/temporal/server/api/persistence/v1/executions.proto index 3cc734ef92c..9d7099bbaed 100644 --- a/proto/internal/temporal/server/api/persistence/v1/executions.proto +++ b/proto/internal/temporal/server/api/persistence/v1/executions.proto @@ -120,6 +120,7 @@ message WorkflowExecutionInfo { string first_execution_run_id = 55; ExecutionStats execution_stats = 56; google.protobuf.Timestamp workflow_run_expiration_time = 57 [(gogoproto.stdtime) = true]; + int64 last_history_node_txn_id = 58; } message ExecutionStats { diff --git a/schema/cassandra/temporal/schema.cql b/schema/cassandra/temporal/schema.cql index 06d45818a99..e1b2363f766 100644 --- a/schema/cassandra/temporal/schema.cql +++ b/schema/cassandra/temporal/schema.cql @@ -56,6 +56,7 @@ CREATE TABLE history_node ( branch_id uuid, node_id bigint, -- node_id: first eventID in a batch of events txn_id bigint, -- for override the same node_id: bigger txn_id wins + prev_txn_id bigint, -- pointing to the previous node: event chaining data blob, -- Batch of workflow execution history events as a blob data_encoding text, -- Protocol used for history serialization PRIMARY KEY ((tree_id), branch_id, node_id, txn_id ) diff --git a/schema/cassandra/temporal/versioned/v1.5/event.cql b/schema/cassandra/temporal/versioned/v1.5/event.cql new file mode 100644 index 00000000000..f945eb21903 --- /dev/null +++ b/schema/cassandra/temporal/versioned/v1.5/event.cql @@ -0,0 +1 @@ +ALTER TABLE history_node ADD prev_txn_id bigint; diff --git a/schema/cassandra/temporal/versioned/v1.5/manifest.json b/schema/cassandra/temporal/versioned/v1.5/manifest.json index 954b58d643e..ed5cdfdfbfe 100644 --- a/schema/cassandra/temporal/versioned/v1.5/manifest.json +++ b/schema/cassandra/temporal/versioned/v1.5/manifest.json @@ -1,8 +1,9 @@ { "CurrVersion": "1.5", "MinCompatibleVersion": "1.0", - "Description": "schema update for execution table version", + "Description": "schema update for execution & history node table version", "SchemaUpdateCqlFiles": [ + "event.cql", "executions.cql" ] } diff --git a/schema/mysql/v57/temporal/schema.sql b/schema/mysql/v57/temporal/schema.sql index 0c6744c7a78..f7aa25e490a 100644 --- a/schema/mysql/v57/temporal/schema.sql +++ b/schema/mysql/v57/temporal/schema.sql @@ -215,6 +215,7 @@ CREATE TABLE history_node ( node_id BIGINT NOT NULL, txn_id BIGINT NOT NULL, -- + prev_txn_id BIGINT NOT NULL DEFAULT 0, data MEDIUMBLOB NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, tree_id, branch_id, node_id, txn_id) diff --git a/schema/mysql/v57/temporal/versioned/v1.5/event.sql b/schema/mysql/v57/temporal/versioned/v1.5/event.sql new file mode 100644 index 00000000000..6437b811b76 --- /dev/null +++ b/schema/mysql/v57/temporal/versioned/v1.5/event.sql @@ -0,0 +1 @@ +ALTER TABLE history_node ADD prev_txn_id BIGINT NOT NULL DEFAULT 0; diff --git a/schema/mysql/v57/temporal/versioned/v1.5/manifest.json b/schema/mysql/v57/temporal/versioned/v1.5/manifest.json index cbefb27fb2b..7c83ae46982 100644 --- a/schema/mysql/v57/temporal/versioned/v1.5/manifest.json +++ b/schema/mysql/v57/temporal/versioned/v1.5/manifest.json @@ -1,8 +1,9 @@ { "CurrVersion": "1.5", "MinCompatibleVersion": "1.0", - "Description": "schema update for execution table version", + "Description": "schema update for execution & history node table version", "SchemaUpdateCqlFiles": [ + "event.sql", "executions.sql" ] } diff --git a/schema/postgresql/v96/temporal/schema.sql b/schema/postgresql/v96/temporal/schema.sql index 5bfc9d47ccd..85249a92726 100644 --- a/schema/postgresql/v96/temporal/schema.sql +++ b/schema/postgresql/v96/temporal/schema.sql @@ -215,6 +215,7 @@ CREATE TABLE history_node ( node_id BIGINT NOT NULL, txn_id BIGINT NOT NULL, -- + prev_txn_id BIGINT NOT NULL DEFAULT 0, data BYTEA NOT NULL, data_encoding VARCHAR(16) NOT NULL, PRIMARY KEY (shard_id, tree_id, branch_id, node_id, txn_id) diff --git a/schema/postgresql/v96/temporal/versioned/v1.5/event.sql b/schema/postgresql/v96/temporal/versioned/v1.5/event.sql new file mode 100644 index 00000000000..6437b811b76 --- /dev/null +++ b/schema/postgresql/v96/temporal/versioned/v1.5/event.sql @@ -0,0 +1 @@ +ALTER TABLE history_node ADD prev_txn_id BIGINT NOT NULL DEFAULT 0; diff --git a/schema/postgresql/v96/temporal/versioned/v1.5/manifest.json b/schema/postgresql/v96/temporal/versioned/v1.5/manifest.json index cbefb27fb2b..7c83ae46982 100644 --- a/schema/postgresql/v96/temporal/versioned/v1.5/manifest.json +++ b/schema/postgresql/v96/temporal/versioned/v1.5/manifest.json @@ -1,8 +1,9 @@ { "CurrVersion": "1.5", "MinCompatibleVersion": "1.0", - "Description": "schema update for execution table version", + "Description": "schema update for execution & history node table version", "SchemaUpdateCqlFiles": [ + "event.sql", "executions.sql" ] } diff --git a/service/history/mutableStateBuilder.go b/service/history/mutableStateBuilder.go index 4b482051c9d..940658d478b 100644 --- a/service/history/mutableStateBuilder.go +++ b/service/history/mutableStateBuilder.go @@ -3874,14 +3874,22 @@ func (e *mutableStateBuilder) prepareEventsAndReplicationTasks( e.updatePendingEventIDs(historyMutation.ScheduleIDToStartID) workflowEventsSeq := make([]*persistence.WorkflowEvents, len(newEventsBatches)) + historyNodeTxnIDs, err := e.shard.GenerateTransferTaskIDs(len(newEventsBatches)) + if err != nil { + return nil, nil, false, err + } for index, eventBatch := range newEventsBatches { workflowEventsSeq[index] = &persistence.WorkflowEvents{ NamespaceID: e.executionInfo.NamespaceId, WorkflowID: e.executionInfo.WorkflowId, RunID: e.executionState.RunId, BranchToken: currentBranchToken, + PrevTxnID: e.executionInfo.LastHistoryNodeTxnId, + TxnID: historyNodeTxnIDs[index], Events: eventBatch, } + e.GetExecutionInfo().LastEventTaskId = eventBatch[len(eventBatch)-1].GetTaskId() + e.executionInfo.LastHistoryNodeTxnId = historyNodeTxnIDs[index] } if err := e.validateNoEventsAfterWorkflowFinish( @@ -3978,10 +3986,12 @@ Loop: for scheduleID, startID := range scheduleIDToStartID { if activityInfo, ok := e.GetActivityInfo(scheduleID); ok { activityInfo.StartedId = startID + e.updateActivityInfos[activityInfo.ScheduleId] = activityInfo continue Loop } if childInfo, ok := e.GetChildExecutionInfo(scheduleID); ok { childInfo.StartedId = startID + e.updateChildExecutionInfos[childInfo.InitiatedId] = childInfo continue Loop } } @@ -3996,7 +4006,6 @@ func (e *mutableStateBuilder) updateWithLastWriteEvent( // already handled in state builder return nil } - e.GetExecutionInfo().LastEventTaskId = lastEvent.GetTaskId() if e.executionInfo.VersionHistories != nil { currentVersionHistory, err := versionhistory.GetCurrentVersionHistory(e.executionInfo.VersionHistories) diff --git a/service/history/nDCHistoryReplicator.go b/service/history/nDCHistoryReplicator.go index d5a8b162fc6..68f49d4a0f4 100644 --- a/service/history/nDCHistoryReplicator.go +++ b/service/history/nDCHistoryReplicator.go @@ -536,6 +536,11 @@ func (r *nDCHistoryReplicatorImpl) applyNonStartEventsToNoneCurrentBranchWithout return err } + transactionID, err := r.shard.GenerateTransferTaskID() + if err != nil { + return err + } + err = r.transactionMgr.backfillWorkflow( ctx, task.getEventTime(), @@ -552,6 +557,8 @@ func (r *nDCHistoryReplicatorImpl) applyNonStartEventsToNoneCurrentBranchWithout WorkflowID: task.getExecution().GetWorkflowId(), RunID: task.getExecution().GetRunId(), BranchToken: versionHistory.GetBranchToken(), + PrevTxnID: 0, // TODO @wxing1292 events chaining will not work for backfill case + TxnID: transactionID, Events: task.getEvents(), }, ) diff --git a/service/history/shard/context_impl.go b/service/history/shard/context_impl.go index f4bf4512757..1f678f6415a 100644 --- a/service/history/shard/context_impl.go +++ b/service/history/shard/context_impl.go @@ -736,15 +736,7 @@ func (s *ContextImpl) AppendHistoryEvents( execution commonpb.WorkflowExecution, ) (int, error) { - // NOTE: do not use generateNextTransferTaskIDLocked since - // generateNextTransferTaskIDLocked is not guarded by lock - transactionID, err := s.GenerateTransferTaskID() - if err != nil { - return 0, err - } - request.ShardID = s.shardID - request.TransactionID = transactionID size := 0 defer func() { diff --git a/service/history/stateBuilder.go b/service/history/stateBuilder.go index ca919ef8a79..5075cb0501c 100644 --- a/service/history/stateBuilder.go +++ b/service/history/stateBuilder.go @@ -131,7 +131,6 @@ func (b *stateBuilderImpl) applyEvents( return nil, err } } - b.mutableState.GetExecutionInfo().LastEventTaskId = event.GetTaskId() switch event.GetEventType() { case enumspb.EVENT_TYPE_WORKFLOW_EXECUTION_STARTED: diff --git a/service/history/timerQueueStandbyTaskExecutor_test.go b/service/history/timerQueueStandbyTaskExecutor_test.go index 0c983ad0b2e..f95f2bdd9ea 100644 --- a/service/history/timerQueueStandbyTaskExecutor_test.go +++ b/service/history/timerQueueStandbyTaskExecutor_test.go @@ -729,7 +729,9 @@ func (s *timerQueueStandbyTaskExecutorSuite) TestProcessActivityTimeout_Multiple mutableState.executionInfo.LastUpdateTime = input.UpdateWorkflowMutation.ExecutionInfo.LastUpdateTime input.RangeID = 0 input.UpdateWorkflowMutation.ExecutionInfo.LastEventTaskId = 0 + input.UpdateWorkflowMutation.ExecutionInfo.LastHistoryNodeTxnId = 0 mutableState.executionInfo.LastEventTaskId = 0 + mutableState.executionInfo.LastHistoryNodeTxnId = 0 mutableState.executionInfo.WorkflowTaskOriginalScheduledTime = input.UpdateWorkflowMutation.ExecutionInfo.WorkflowTaskOriginalScheduledTime mutableState.executionInfo.ExecutionStats = &persistencespb.ExecutionStats{} diff --git a/service/history/workflowExecutionContext.go b/service/history/workflowExecutionContext.go index 10e1f905462..4fc6fa97f0a 100644 --- a/service/history/workflowExecutionContext.go +++ b/service/history/workflowExecutionContext.go @@ -897,16 +897,19 @@ func (c *workflowExecutionContextImpl) persistFirstWorkflowEvents( } branchToken := workflowEvents.BranchToken events := workflowEvents.Events + prevTxnID := workflowEvents.PrevTxnID + txnID := workflowEvents.TxnID size, err := c.appendHistoryV2EventsWithRetry( namespaceID, execution, &persistence.AppendHistoryNodesRequest{ - IsNewBranch: true, - Info: persistence.BuildHistoryGarbageCleanupInfo(namespaceID, workflowID, runID), - BranchToken: branchToken, - Events: events, - // TransactionID is set by shard context + IsNewBranch: true, + Info: persistence.BuildHistoryGarbageCleanupInfo(namespaceID, workflowID, runID), + BranchToken: branchToken, + Events: events, + PrevTransactionID: prevTxnID, + TransactionID: txnID, }, ) return size, err @@ -927,15 +930,18 @@ func (c *workflowExecutionContextImpl) persistNonFirstWorkflowEvents( } branchToken := workflowEvents.BranchToken events := workflowEvents.Events + prevTxnID := workflowEvents.PrevTxnID + txnID := workflowEvents.TxnID size, err := c.appendHistoryV2EventsWithRetry( namespaceID, execution, &persistence.AppendHistoryNodesRequest{ - IsNewBranch: false, - BranchToken: branchToken, - Events: events, - // TransactionID is set by shard context + IsNewBranch: false, + BranchToken: branchToken, + Events: events, + PrevTransactionID: prevTxnID, + TransactionID: txnID, }, ) return size, err