Skip to content

Add archiving views - #5

Merged
ssjunnebo merged 4 commits into
NationalGenomicsInfrastructure:mainfrom
ssjunnebo:add_archiving_views
Aug 19, 2026
Merged

ssjunnebo merged 4 commits into
NationalGenomicsInfrastructure:mainfrom
ssjunnebo:add_archiving_views

Conversation

@ssjunnebo

Copy link
Copy Markdown
Contributor

Adds archiving views. The validation script removed some seemingly deprecated dbs from the views config.

@ssjunnebo
ssjunnebo requested a review from alneberg August 17, 2026 07:34
@ssjunnebo ssjunnebo added the no validation validation not needed label Aug 17, 2026
@@ -0,0 +1,3 @@
function (doc) {
emit(doc._id);

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.

I think we have these in quite a few databases, but I don't think they're actually needed. Statusdb allows direct lookup of the doc._id without this view. Or am I missing something?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah, right. I use this view in the encryption script. I could rewrite it, but maybe it's ok to keep that way for now?

@alneberg alneberg 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.

Looks good!

@ssjunnebo
ssjunnebo merged commit bbfdecf into NationalGenomicsInfrastructure:main Aug 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no validation validation not needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants