Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(backend): ignore deleted sequences in processing pipeline updates #3253

Closed
wants to merge 1 commit into from

Conversation

corneliusroemer
Copy link
Contributor

@corneliusroemer corneliusroemer commented Nov 19, 2024

fixes #3250 independently of #3252, but that PR is worth it anyways as we don't want processed data lying around for deleted sequence entries.

preview URL: https://ignore-deleted.loculus.org

Summary

Solve the issue of #3250 narrowly, where we noticed it. This is to make sure that even if #3252 doesn't delete 100% of entries and some slip through it has no effect on processing pipeline updates. This also means existing instances don't need to clean up processed data to avoid #3250.

It'd be nice if we could rewrite the single big SQL update statement into chunks so we can do some informative logging of intermediate results to help with debugging updates that are in process, see #3249 - but that's for another time.

Once we have foreign key constraints we can probably remove the inner join again.

Testing

I tested deleting some sequences then updating prepro version and it worked (PR #3256)

Brave Browser 2024-11-19 23 08 59

@corneliusroemer corneliusroemer added backend related to the loculus backend component review please PR waiting for final review labels Nov 19, 2024
@corneliusroemer
Copy link
Contributor Author

Superseded by #3259

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend related to the loculus backend component review please PR waiting for final review
Projects
None yet
1 participant