Commit Graph

7 Commits

Author SHA1 Message Date
Taddes
d716ac5d10
feat: spanner scripts parse gcp project (#1714)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
feat: spanner scripts parse gcp project
2025-07-22 20:18:30 -04:00
Ethan Donowitz
0ae5fd2059
refactor: add settings crates (#1306)
This is a breaking change. This commit separates syncstorage and tokenserver settings into separate structs that are contained by a parent `Settings` struct. This means that any env vars that hold settings specific to syncstorage (e.g. `SYNC_DATABASE_URL`) have been renamed to `SYNC_SYNCSTORAGE__DATABASE_URL`. Any settings that were moved from the top-level `Settings` struct to the lower level, syncstorage-specific struct will now have a `SYNC_SYNCSTORAGE__` prefix instead of a `SYNC_` prefix.

Closes #1276
2022-10-19 17:15:56 -04:00
jrconlin
7d07a8948f
feat: Add debugging tools
This adds a few useful inline testing tools for syncstorage-rs
2019-11-08 15:00:07 -08:00
Philip Jenvey
beddaf600f
refactor: schema renames (again)
- always prefix primary key names with their table name (id -> bso_id,
  collection_id). a best practice in spanner, as when tables
  interleave, their shared id names must always match
- bso -> bsos (every other table name's plural)
- give batches an expiry index

Closes #313
2019-11-04 11:26:19 -08:00
jrconlin
c085ff8b2c
f read the spanner data from the spanner DSN 2019-10-18 14:39:30 -07:00
jrconlin
30a77a9d1b
f r's
* make purge_ttl a real script
* pull data from env
* add `batches` purge
* delete to expiry
2019-10-18 13:58:45 -07:00
jrconlin
21fbdb46ae
feat: add spanner tools
Add a set of python based tools for managing data in the spanner
database.

Issue: #119, #284
2019-10-18 08:31:04 -07:00