bfs_client and nameserver return 0 in some abnormal cases
- Dominant language
- C++
- Stars
- 2.8k
- Forks
- 551
- PR merge metrics
- No merged PRs in 30d
Description
1. when bfs.flag does not exist or nameserver has already been started, namserver can't start but return 0;
2. when touch a file already exists, bfs_client print fail message but return 0;
3. when du a directory not exist,bfs_client print fail message but return 0.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the three cases described for nameserver and bfs_client: missing bfs.flag or an already-running nameserver, touching an existing file, and running du on a missing directory. Trace the command entry points and failure paths, then verify that each reported failure exits nonzero while successful operations retain their existing status.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, distributed-systems, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100