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

vine: remove ghost pending replicas when worker disconnect #4085

Conversation

JinZhou5042
Copy link
Member

@JinZhou5042 JinZhou5042 commented Mar 5, 2025

Proposed Changes

This is a tentative fix for #4084

Merge Checklist

The following items must be completed before PRs can be merged.
Check these off to verify you have completed all steps.

  • make test Run local tests prior to pushing.
  • make format Format source code to comply with lint policies. Note that some lint errors can only be resolved manually (e.g., Python)
  • make lint Run lint on source code prior to pushing.
  • Manual Update: Update the manual to reflect user-visible changes.
  • Type Labels: Select a github label for the type: bugfix, enhancement, etc.
  • Product Labels: Select a github label for the product: TaskVine, Makeflow, etc.
  • PR RTM: Mark your PR as ready to merge.


// remove the pending replica from the worker's file table
if (p && p->to && p->source_url) {
const char *cachename = path_basename(p->source_url);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks error prone. Could we keep a pointer to the corresponding replica when creating the vine_transfer_pair?

@JinZhou5042
Copy link
Member Author

closing this one as it seems there is a problem somewhere else...

@JinZhou5042 JinZhou5042 closed this Mar 5, 2025
@JinZhou5042 JinZhou5042 deleted the remove_worker_file_when_canceling_transfers branch March 5, 2025 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants