Fail write_file if the content will cause carbonadod to go over system capacity
@rustchain64 is already working on this.
Since Mar 16, 2023.
Assessment
This issue has not been assessed yet.
Description
As specified in the config.toml, check if the capacity specified will be exceeded when write_file is called. We can just check early on, the length of file_bytes, and do a worst-case heuristic of 2x on that size. Also keep in mind, that size is in bytes, but capacity is measured in gigabytes.
The size of only one volume needs to be checked, then it can be multiplied by FEC_M.
- Dominant language
- Rust
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bitmask-stack/carbonado-node
-
Production Node Epic Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Refactor Routes Open
bitmask-stack/carbonado-node#49 · 1 assignee ·
-
LDK integration Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
File expiration Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Versioned catalogs Open
bitmask-stack/carbonado-node#46 · 1 assignee ·
All issues in bitmask-stack/carbonado-node
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100