Support ReplicaFetcherThread fetch log async
Open
component=server
- Dominant language
- Java
- Stars
- 2.1k
- Forks
- 625
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 97
Description
Currently, in `ReplicaFetchThread#processFetchLogRequest()`, we will block and wait for the fetch log request to complete. This can be changed to an asynchronous approach to improve the utilization of the fetch threads.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate ReplicaFetchThread#processFetchLogRequest() and read the surrounding fetch-thread request lifecycle first. Determine how the fetch log request currently waits for completion and identify the behavior that must remain correct when it is handled asynchronously. Done means the request no longer blocks the fetch thread while preserving correct fetch processing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems, stream-processing
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100