baidu / baidu/bfs

magic number in chunkserver_manager.cc

Open
#899 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2.8k
Forks
551
PR merge metrics
No merged PRs in 30d

Description

in function GetChunkServerLoad() `5L<< 20` should be replaced by FLAGS_chunkserver_`disk_safe_space << 20`

Contributor guide

No contributing guide indexed for this repository

Research direction

Open chunkserver_manager.cc and locate GetChunkServerLoad(). Replace the hard-coded 5L with the FLAGS_chunkserver_disk_safe_space value as described, then verify that the project still builds and its relevant checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.