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

fix(runPipelineNode): unmounting overlapping paths #1190

Conversation

jadh4v
Copy link
Member

@jadh4v jadh4v commented Aug 2, 2024

If multiple paths are mounted such that one is a parent of the other, then you may encounter the following exceptions:

Rejected promise returned by test. Reason:

  ErrnoError {
    code: 'EINVAL',
    errno: 28,
    message: 'Invalid argument',
  }

Rejected promise returned by test. Reason:

  ErrnoError {
    code: 'ENOENT',
    errno: 44,
    message: 'No such file or directory',
  }

This fix will determine paths that are safely unmountable, and only unmount each path once.

@jadh4v jadh4v requested a review from thewtex August 2, 2024 01:26
If multiple paths are mounted such that one is a parent of the
other, then you may encounter the following exceptions:

```
Rejected promise returned by test. Reason:

  ErrnoError {
    code: 'EINVAL',
    errno: 28,
    message: 'Invalid argument',
  }

Rejected promise returned by test. Reason:

  ErrnoError {
    code: 'ENOENT',
    errno: 44,
    message: 'No such file or directory',
  }
```

This fix will determine paths that are safely unmountable,
and only unmount each path once.
@jadh4v jadh4v force-pushed the fix-runPipelineNode-unmounting-overlapping-paths branch from 065e403 to 566bff2 Compare August 2, 2024 01:29
Copy link
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

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

👍

@thewtex thewtex merged commit 3da8798 into InsightSoftwareConsortium:main Aug 2, 2024
68 checks passed
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