microsoft / microsoft/VFSForGit

Improve VFSForGit's handling of full disk scenarios

Open
#147 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

affects: live-site affects: reliability
Dominant language
C#
Stars
6.1k
Forks
474
Avg merge
2d 4h
Merged PRs (30d)
8

Description

Currently when a user's disk is full, the following can occur:

  • VFSForGit fails to persist background operations
  • VFSForGit fails to write to the ModifiedPaths.dat file
  • VFSForGit crashes

Consider updating VFSForGit so that it will shut itself down once a threshold is reached to prevent it from losing background tasks or updating the ModifiedPaths.dat file.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how VFSForGit persists background operations and writes ModifiedPaths.dat, then inspect the full-disk error paths that can lead to data loss or a crash. Done means VFSForGit detects the specified disk-space condition and shuts down without losing background tasks or attempting the failing update.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.