oxidecomputer / oxidecomputer/omicron
Move timeseries schema to CockroachDB
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 572
- Forks
- 97
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 96
Description
The timeseries schema are currently stored in ClickHouse, alongside the timeseries data itself. That's less than ideal, given ClickHouse's lack of consistency guarantees. We should move that to CockroachDB to have consistent operations around creating timeseries schema and updating their versions (see #1293). This would support operations such as registering not just as a metric producer, but as a producer of a particular timeseries version.
Contributor guide
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 issue #1293 first, then trace how the timeseries schema is stored in ClickHouse alongside the timeseries data. Define the CockroachDB migration around consistent schema creation and version updates, including registration as a producer of a particular timeseries version. Done means those operations no longer depend on ClickHouse consistency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clickhouse, rust
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100