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

Update channel lineup JSON inside DB transaction #982

Open
chrisbenincasa opened this issue Nov 22, 2024 · 0 comments
Open

Update channel lineup JSON inside DB transaction #982

chrisbenincasa opened this issue Nov 22, 2024 · 0 comments
Labels
backend Pertains to the Tunarr server enhancement New feature or request

Comments

@chrisbenincasa
Copy link
Owner

It is possible to create out-of-sync channels (EPG says one thing while Tunarr UI says another) if the channel update path fails during channel lineup update but has already succeeded in updating the DB. We do various DB updates in a transaction on this path, but we could also write to the lineup JSON within the transaction. If it fails, the DB updates would rollback

@chrisbenincasa chrisbenincasa added backend Pertains to the Tunarr server enhancement New feature or request labels Nov 22, 2024
@chrisbenincasa chrisbenincasa moved this to In Progress in Tunarr Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Pertains to the Tunarr server enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant