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

Handle partial import #14

Open
SilasBerger opened this issue Jun 9, 2023 · 1 comment
Open

Handle partial import #14

SilasBerger opened this issue Jun 9, 2023 · 1 comment

Comments

@SilasBerger
Copy link
Owner

Implement a strategy for handling partially imported / stored entries in case of script interruption (crash, killed by user), taking into account the fact that changes may already have been made to other tables as well (hashtags, hashtag rel, ...)

Strategy:

  • Single transaction for video metadata, mark entry as pass or fail
  • Subsequent second transaction for transcript, if first transaction succeeded
  • Ensure on delete cascade constraints work as intended
  • Provide DAO functionality for deleting orphan hashtags, challenges, etc.

Reference: #13

@SilasBerger
Copy link
Owner Author

Implemented with move to SQLite

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

No branches or pull requests

1 participant