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

Missing soft limit on the space's mem table usage #1397

Open
ShiKaiWi opened this issue Dec 22, 2023 · 1 comment
Open

Missing soft limit on the space's mem table usage #1397

ShiKaiWi opened this issue Dec 22, 2023 · 1 comment
Labels
feature New feature or request

Comments

@ShiKaiWi
Copy link
Member

ShiKaiWi commented Dec 22, 2023

Describe This Problem

There is no soft limit over the space/instance's memtable usage in the current write procedure, and the following write requests must be blocked/rejected once the hard limit is reached. In conclusion, write errors will occur immediately when the hard limit of the instance/space's memtable is reached.

Proposal

Introduce the soft limit over the space/instance's memtable usage, and once it is reached, the flush of the largest memtables in the space/instance should be triggered, and the flush should not block the write procedure. Only the hard limit is reached, the following write requests should be rejected.

Additional Context

No response

@ShiKaiWi ShiKaiWi added the feature New feature or request label Dec 22, 2023
@ShiKaiWi
Copy link
Member Author

I'll take this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant