11 Commits

Author SHA1 Message Date
Taddes
6b0b41c6d5
feat: impl for update collection (#1900)
feat: impl for update collection
2025-12-04 15:41:04 -05:00
Taddes
4d6fe26a35
feat: postgres read and write locks (#1891)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
feat: postgres read and write locks
2025-12-02 20:38:45 -05:00
Philip Jenvey
f3a33250b6
feat: add get_bsos/bso_ids (#1899)
- switch sortindex to 32 bit: the API defines it as 9 digits max
- switch payload to TEXT

Closes STOR-336
Closes STOR-402
2025-12-02 15:32:54 -08:00
Taddes
455ad7aed2
feat: load and map collections impl (#1898)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
feat: load and map collections impl
2025-11-20 18:17:19 -05:00
Philip Jenvey
70a7854b8f
Merge pull request #1896 from mozilla-services/feat/syncstorage-uid-pk-STOR-413
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
feat: prefer tokenserver's assigned uid as the PK
2025-11-18 14:25:36 -08:00
Taddes
ac10f5a7c2
feat: impl get collection and collection id methods (#1887)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
feat: impl get collection and collection id methods
2025-11-13 14:08:13 -05:00
Philip Jenvey
30bb0556f6
refactor: divvy up the db module
Closes STOR-304
2025-11-10 13:45:13 -08:00
Taddes
a65d461094
feat: postgres db pool and session implementation (#1875)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
We need to create the Postgres specific Db struct and associated methods. The majority of API methods will be implemented upon this struct, so this is to initialize the main logic so that the traits can be implemented.

This also encompasses additions to the Postgres-specific database pool implementation.

Several of the trait bounds (methods) have to be satisfied, but this stubs them out so that the PgDb has a common interface that is the same as those for MySQL and Spanner.

Doc comments added in shared error.rs crate for clarity, since it is a shared interface for all databases.

Removed dead code annotations for clippy that are no longer needed in Tokenserver.

Closes STOR-399
2025-11-10 13:14:22 -08:00
Taddes
7fa191e699
feat: create schema and orm models for sync postgres (#1873)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
feat: create schema and orm models for sync postgres
2025-10-31 18:17:34 -04:00
Taddes
0c1198496d
feat: sync postgres schema (#1853)
Some checks failed
Glean probe-scraper / glean-probe-scraper (push) Has been cancelled
feat: sync postgres schema
2025-10-28 17:53:33 -04:00
Philip Jenvey
bcc5990eea
feat: add syncstorage-postgres
Closes STOR-330
2025-10-17 16:13:05 -07:00