Skip to content

chore: re-map collections in batches, tweak catalog backfill script - #134

Merged
hrodmn merged 1 commit into
mainfrom
implement-dps-batching
Sep 25, 2026
Merged

hrodmn merged 1 commit into
mainfrom
implement-dps-batching

Conversation

@hrodmn

@hrodmn hrodmn commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

I had to make some changes to the DPS STAC metadata migration/backfill scripts to get them to work. Doing the full collection id remapping in one transaction was too much for the little t3.small database, so I had to run it in batches of 25 overnight instead.

All collections that did not have colliding item IDs have now been combined into the new format: {username}__{algorithm_name}__{algorithm_version} and have been associated with a user's catalog! e.g. https://dps-stac-browser.maap-project.org/catalogs/user-rileykk

resolves https://github.com/NASA-IMPACT/active-maap-sprint/issues/1468

@hrodmn
hrodmn requested a review from jjfrench September 25, 2026 11:51
@hrodmn hrodmn self-assigned this Sep 25, 2026

@jjfrench jjfrench left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nothing stands out - read through the docs and they make sense to me, lgtm 🚀

@hrodmn
hrodmn merged commit 31e779d into main Sep 25, 2026
3 checks passed
@hrodmn
hrodmn deleted the implement-dps-batching branch September 25, 2026 19:21

This branch was successfully deployed

1 active deployment
synthtest — 9e49ee79 Deployed Sep 25, 2026 by hrodmn via CDK Operations #517
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.

2 participants