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

db: Allow DELETE FROM Devices, cascade Media and EventsCam #696

Merged

Conversation

andrey-utkin
Copy link
Contributor

This is to get out of the tricky situation when removing a camera may fail if a new Media or EventsCam record appeared during the removal. Removal entails deleting recordings from the filesystem, which can take substantial time, and we have actually got report of this problem.

This is to get out of the tricky situation when removing a camera may
fail if a new Media or EventsCam record appeared during the removal.
Removal entails deleting recordings from the filesystem, which can take
substantial time, and we have actually got report of this problem.
@andrey-utkin andrey-utkin mentioned this pull request Sep 5, 2024
@andrey-utkin andrey-utkin marked this pull request as ready for review September 21, 2024 16:35
@andrey-utkin
Copy link
Contributor Author

OK, I've double checked this and I think this is fine.
Package upgrade with DB schema update still has to be tested.

@andrey-utkin andrey-utkin merged commit 46c04e5 into bluecherrydvr:master Sep 21, 2024
3 of 4 checks passed
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.

1 participant