-
Notifications
You must be signed in to change notification settings - Fork 155
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
[leo_storage][data-compaction] Avoids write operation before leo_storage is not able to execute data-compaction #592
Comments
WIP |
@mocchira We've benchmarked v1.3.7-dev today. Its result is not good, Benchmark LeoFS v1.3.7. We need to reconsider this implementation. So I would like to propose this implementation as below: Proposal
|
@yosukehara Confirmed. It seems disksup gen_server process might be bottleneck as multiple leo_object_storage_server (default: 8) call that gen_server each time and also each call cause callers to be locked exclusively (waiting for other calls to finish). so your proposal loos reasonable. |
Thanks for your confirmation. I'm going to send a PR soon. |
We've recognized this issue was fixed: |
We already delivered auto-compaction feature, and recommend using this feature but in case of its disabled, LeoFS' storage node crashes when disk-full situation happen.
We need to support a LeoFS' storage node reject write-operation before its node reached not able to compaction situation as below:
After stoping WRITE operation, an admin needs to maintain a stoped leo_storage:
Administration Options:
Related issue
The text was updated successfully, but these errors were encountered: