clockworklabs / clockworklabs/SpacetimeDB
Classify snapshot worker failures for logging
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
Follow-up from https://github.com/clockworklabs/SpacetimeDB/pull/5640.
SnapshotWorkerActor::run in crates/engine/src/snapshot.rs, lifecycle conditions and snapshot creation failures share one anyhow::Error warning. Split lifecycle conditions to warn! or lower and snapshot creation or sync failures to error!.
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.
Research direction
Read SnapshotWorkerActor::run in crates/engine/src/snapshot.rs and trace how lifecycle conditions, snapshot creation failures, and sync failures currently share the warning. Done means lifecycle conditions use warn! or a lower level, while snapshot creation and sync failures use error!.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 78/100