Skip to content

investigate behavior during .backup #70

Open

Description

@gstein

To properly back up the steve.db, SQLite says to use the .backup meta command. Apparently, this locks the whole database.

ACTION: investigate the locking behavior, and the app's behavior when it is locked. Does it block, or does it fail?

If it fails (likely with an exception/error that indicates the lock), then maybe add some retry behavior to await release of the lock. And/or investigate SQLite Write Ahead Logs (WAL) and if that can mitigate the problem. And/or other strategies for backup during continuous operation.

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions