Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove timeseries schema from cache on insertion failure #4348

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

bnaecker
Copy link
Collaborator

@bnaecker bnaecker force-pushed the cache-invalidation-ugh branch from a04735d to 351118a Compare October 25, 2023 15:32
@bnaecker bnaecker requested a review from david-crespo October 25, 2023 17:16
- Fixes #4335
- Factors out internals of `oximeter_db::Client::insert_samples()` to
  aid testing, and add regression
- Remove new timeseries schema from the internal cache, if we fail to
  insert them into the schema table.
@bnaecker bnaecker force-pushed the cache-invalidation-ugh branch from 7699c25 to 66c8eb2 Compare October 25, 2023 17:34
@bnaecker bnaecker enabled auto-merge (squash) October 25, 2023 17:34
@bnaecker bnaecker merged commit 12029d4 into main Oct 25, 2023
19 of 20 checks passed
@bnaecker bnaecker deleted the cache-invalidation-ugh branch October 25, 2023 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

oximeter can have schema in its cache that are not in the database
2 participants