895
// case 6: workflow closed, child started, parent close policy is abandon
896
if childStarted {
898
>
WorkflowId: childInfo.StartedWorkflowId,
899
>
RunId: childInfo.StartedRunId,
900
>
}
901
>
childClock := childInfo.Clock
902
>
// NOTE: do not access anything related mutable state after this lock release
903
>
// release the context lock since we no longer need mutable state and
904
>
// the rest of logic is making RPC call, which takes time.
905
>
release(nil)
906
>
907
>
parentClock, err := t.shardContext.NewVectorClock()
908
>
if err != nil {
909
return err
910
}
911
913
return serviceerror.NewNamespaceNotFound(childInfo.Namespace)
914
}
915
917
}
918