Skip to content

BUG: only return data available in both DB and S3 - #962

Merged
tech3371 merged 3 commits into
IMAP-Science-Operations-Center:devfrom
tech3371:query_bug
Oct 22, 2025
Merged

BUG: only return data available in both DB and S3#962
tech3371 merged 3 commits into
IMAP-Science-Operations-Center:devfrom
tech3371:query_bug

Conversation

@tech3371

Copy link
Copy Markdown
Contributor

Change Summary

Overview

Bug fix in query API that returns file that are not both in DB or S3

@lacoak21

Copy link
Copy Markdown
Contributor

Shouldn't we be concerned when files records exist in the db but are not in s3?

@tech3371

Copy link
Copy Markdown
Contributor Author

Shouldn't we be concerned when files records exist in the db but are not in s3?

I think so. I am concerned about that but this feels like a bug to me.

@lacoak21

Copy link
Copy Markdown
Contributor

I think so. I am concerned about that but this feels like a bug to me.

Ok I see what you mean. The query should truly reflect whats in s3.

@tech3371

Copy link
Copy Markdown
Contributor Author

Let me merge this and tests. My test environment both local and Git is down. Will open another PR if this didn't work.

@tech3371
tech3371 merged commit e1ab818 into IMAP-Science-Operations-Center:dev Oct 22, 2025
2 checks passed
@greglucas

Copy link
Copy Markdown
Collaborator

I don't like this because it is adding a lot of HEAD_OBJECT checks unnecessarily. We should add a synchronizer or run the synchronizer whenever we do these updates.

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.

3 participants