microsoft / microsoft/VFSForGit
Creating the GVFS_projection hardlink sometimes fails
Open
Nobody has claimed this yet.
type: bug
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 474
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 8
Description
Occasionally creating the GVFS_projection hardlink fails, and GVFS should either have:
- Retry logic (when mounting, it already exists while mounted)
- GVFS should keep a handle open to the .gvfs folder that allows write sharing to prevent handles to the .gvfs folder from blocking hardlink creation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing where the GVFS_projection hardlink is created during mounting and how the .gvfs folder is opened or shared. Compare the two proposed approaches—retrying when the link already exists and keeping a writable shared handle open—and verify that hardlink creation succeeds reliably while mounted; the issue names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100