Add configurable rust-rocksdb logging and log rotation #1
Labels
No labels
Blocked
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
To-Merge
Wont fix
old/ci/cd
old/rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently there is zero configuration or control over RocksDB logging (verbosity, path, rotate, etc) which ends up creating infinite amounts of
LOGfiles in the database directory that can accumulate overtime. Something in the Conduit chat reported that rm -rf'ing allLOG*files freed 3GB of storage.https://docs.rs/rocksdb/latest/rocksdb/?search=log
https://docs.rs/rocksdb/latest/rocksdb/struct.Options.html#method.set_bytes_per_sync
github.com/girlbossceo/conduwuit@f62f641545github.com/girlbossceo/conduwuit@d9d1ce3cb5