Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster:admin/snapshot/mount does not link to its child cluster:admin/snapshot/restore task #105830

Closed
DaveCTurner opened this issue Feb 28, 2024 · 1 comment · Fixed by #108705
Assignees
Labels
>bug :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. Team:Distributed Meta label for distributed team

Comments

@DaveCTurner
Copy link
Contributor

Mounting a searchable snapshot triggers a snapshot restore, but the snapshot restore task does not record the mount task as its parent. We should avoid orphan tasks like this by specifying the parent task ID in the restore request created within TransportMountSearchableSnapshotAction.

@DaveCTurner DaveCTurner added >bug :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. labels Feb 28, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team label Feb 28, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@nicktindall nicktindall self-assigned this May 16, 2024
nicktindall added a commit to nicktindall/elasticsearch that referenced this issue May 16, 2024
nicktindall added a commit to nicktindall/elasticsearch that referenced this issue May 17, 2024
nicktindall added a commit that referenced this issue May 21, 2024
* Associate restore snapshot task to parent mount task

Closes #105830
jedrazb pushed a commit to jedrazb/elasticsearch that referenced this issue May 21, 2024
* Associate restore snapshot task to parent mount task

Closes elastic#105830
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Snapshot/Restore Anything directly related to the `_snapshot/*` APIs Supportability Improve our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better. Team:Distributed Meta label for distributed team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants