baidu / baidu/bfs

concider thread pool pending in GetChunkserverChains

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

Description

AddBlock分配cs时应考虑到pending数,考虑一下cs上读、写线程池中的pending数

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at GetChunkserverChains and trace how AddBlock selects a chunkserver (cs). Read the chunkserver read and write thread-pool handling and identify how pending counts are exposed; done means allocation accounts for those pending counts and the relevant behavior is covered by the existing tests, though no test file is named.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.