oxidecomputer / oxidecomputer/omicron

Move timeseries schema to CockroachDB

Open
#1,294 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

database nexus oximeter
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.