Files
Chetan GowdaandGitHub 03d0c5d941 [Reset] Verify parent before terminating and starting child (#7261)
## What changed?
Modified `service/history/api/startworkflow/api.go` to first verify the
parent-child relationship before terminating running child.
 
## Why?
We need this verification since the parent overrides the ID
reuse/conflict policies in reset runs. But by the time the parent gets
to "restart" the child, that child could have been claimed by someone
else. So we need to ensure that the currently running child was indeed
started by the parent issuing this request.

## How did you test it?
Manual tests. Will add functional tests in followup PRs.

## Potential risks
N/A

## Documentation
Documentation of the feature is pending. But the feature itself is in
pre-release (gated behind a dynamic config)

## Is hotfix candidate?
No
2025-02-06 11:32:56 -08:00
..
2024-08-23 14:48:10 -06:00