Skip to content

Conversation

superhx
Copy link
Collaborator

@superhx superhx commented Aug 13, 2025

cherry-pick #2752

Consider the following scenario:

A Fetch request contains partitions P1 and P2. The data of P1 is in LogCache, while the data of P2 is not.
First, a fast read will be attempted. At this time, P1 will return data and consume Network Out, and P2 will return a FastReadException.
Due to the FastReadException, the entire Fetch attempts a slow read. At this time, both P1 and P2 return data and consume Network Out.
At this point, the Network Out in step 2 is consumed repeatedly.
Solution: Move the S3Stream network out consumption to ElasticReplicaManager. Avoid the network out traffic over-consumed, when there are mixin(tail read & catch-up read) partitions reading.

Signed-off-by: Robin Han <[email protected]>
@superhx superhx merged commit d50499e into 1.5 Aug 13, 2025
7 checks passed
@superhx superhx deleted the cp_2752 branch August 13, 2025 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants