codeinsights-db: correct data volume path#1936
Conversation
Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
It was able to write into When the container restarted, it's as if the DB was entirely empty so "there is no issue" either.
Luckily this is unlikely, codeinsights is behind a feature flag and of-by-default. Plus, even when enabled the database is rather small unless you add a lot of insights and it records data for a really long time (like a year) - people will upgrade before they encounter any ephemeral storage issues I expect. |
See sourcegraph/deploy-sourcegraph-docker#269 Signed-off-by: Stephen Gutekanst <stephen@sourcegraph.com>
I failed to verify
/datawas the correct path (it is for our other Postgres images, but not for this TimescaleDB image), which means codeinsights-db data is not being retained currently. I noticed this because the DB was lost on sourcegraph.com (chart looks empty.)The good news is that I am actively working on building historical data for insights, so this data loss doesn't really matter - it'll all be rebuilt later.
Fixes https://github.com/sourcegraph/sourcegraph/issues/18704
Signed-off-by: Stephen Gutekanst stephen@sourcegraph.com
Checklist