Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[server] FetchLogRequest support params: minFetchBytes and maxWaitMs to avoid frequently FetchLogRequest send to server #233

Merged
merged 3 commits into from
Jan 5, 2025

Conversation

swuferhong
Copy link
Collaborator

Purpose

Linked issue: #199

This pr is aims to deal with the problem mention in #199 (Client/Follower fetch a empty table, the response will be returned quickly, and immediately, it'll send fetch request again and again)

Tests

API and Format

Documentation

@swuferhong swuferhong force-pushed the fetch-log-min-size branch 3 times, most recently from a9bb612 to ec71d91 Compare December 30, 2024 06:42
@swuferhong
Copy link
Collaborator Author

@wuchong comments addressed.

@swuferhong
Copy link
Collaborator Author

@wuchong conflict resolved, pr ready.

Copy link
Member

@wuchong wuchong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I added a commit to improve the config option keys.

@wuchong
Copy link
Member

wuchong commented Jan 5, 2025

CI is passed, Merging...

Please check the commit afterward @swuferhong

@wuchong wuchong merged commit 37b7903 into alibaba:main Jan 5, 2025
2 checks passed
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.

[Feature] Server need backoff fetch when fetch empty record to avoid send fetch records again and again
2 participants