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

Scheduled update blocks transactions #2

Description

@diredev

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions