Skip to content

Commit

Permalink
perf(DelayedFetch): only try to fast read on complete a delayed fetch (
Browse files Browse the repository at this point in the history
…#2013)

Signed-off-by: Ning Yu <ningyu@automq.com>
  • Loading branch information
Chillax-0v0 authored Sep 11, 2024
1 parent d5956cf commit 26a4e1d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,9 @@ class ElasticReplicaManager(
fetchPartitionStatus = fetchPartitionStatus,
replicaManager = this,
quota = quota,
// Always use the fast fetch limiter in delayed fetch operations, as when a delayed fetch
// operation is completed, it only try to read in the fast path.
limiter = fastFetchLimiter,
responseCallback = responseCallback
)

Expand Down

0 comments on commit 26a4e1d

Please sign in to comment.