1045
// We need a way to break this chain into consistent pieces and replicate them one by one.
1046
return chasm.StartExecutionResult{}, serviceerror.NewUnimplemented("ID Conflict Policy Terminate Existing is not yet supported")
1048
>
existingExecutionRef := newExecutionParams.executionRef
1049
>
existingExecutionRef.RunID = currentRunInfo.RunID
1050
>
serializedRef, err := existingExecutionRef.Serialize(e.registry)
1051
>
if err != nil {
1052
return chasm.StartExecutionResult{}, err
1053
}
1055
>
ExecutionKey: existingExecutionRef.ExecutionKey,
1056
>
ExecutionRef: serializedRef,
1057
>
}, nil
1058
default:
1059
return chasm.StartExecutionResult{}, serviceerror.NewInternal(