Skip to content

race conditions when overwriting database file and reading from database at the same time #4

Description

@kszymukowicz

hi

tnx for this nice extension.

I have one proposal. To avoid race conditions when database is read and written at the same time maybe it would be good to store database file with some temporary filename and make rename? This way we can greatly lower the risk of race condition.
What do you think ?

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