Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

Scheduled update blocks transactions #2

Open
diredev opened this issue Nov 22, 2017 · 0 comments
Open

Scheduled update blocks transactions #2

diredev opened this issue Nov 22, 2017 · 0 comments

Comments

@diredev
Copy link
Owner

diredev commented Nov 22, 2017

Podcache will perform a full update of all feeds once a day (and possibly on startup). During the update (which could take a while on slower connections), HSQLDB will lock the table (for update).

The change from c5ae073 means that existing feeds can be read during this time at least, but adding or modifying a feed still has to wait for the entire update operation to complete.

It also seems like HSQLDB does not support lock timeouts (AFAIK), so the transactions literally wait forever.


Consider improving this situation. Maybe there is a better way (Java-side locks?) to enforce consistency?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant