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

fix: no write stall #1388

Merged
merged 3 commits into from
Dec 21, 2023
Merged

fix: no write stall #1388

merged 3 commits into from
Dec 21, 2023

Conversation

ShiKaiWi
Copy link
Member

Rationale

#1003 tries to avoid frequent flush requests which may generate massive small ssts, but the write stall is also removed in the normal write path.

Detailed Changes

Introduce the min_flush_interval to avoid frequent flush requests and recover the write stall mechanism.

Test Plan

Add unit tests for the frequent flush check.

@ShiKaiWi
Copy link
Member Author

@tisonkun @tanruixiang Would you please approve the workflow to run when it's convenient for you?

Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

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

LGTM

@tanruixiang
Copy link
Member

merging..

@tanruixiang tanruixiang merged commit 3f5d8f4 into apache:dev Dec 21, 2023
6 checks passed
@ShiKaiWi ShiKaiWi deleted the fix-no-write-stall branch December 21, 2023 09:51
ShiKaiWi added a commit to ShiKaiWi/ceresdb that referenced this pull request Dec 22, 2023
small ssts, but the write stall is also removed in the normal write
path.

Introduce the `min_flush_interval` to avoid frequent flush requests and
recover the write stall mechanism.

Add unit tests for the frequent flush check.
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.

None yet

3 participants