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

Improve persistence manager #4804

Merged

Conversation

chimp1984
Copy link
Contributor

We observed some issues with persistence (corrupted files). This PR intends to fix that by adding more checks so that edge cases where it was possible that methods got called repeatadly or in a state where they should not be called anymore are avoided.

…led multiple times

(which can happen in rare cases) and add guards that we never create multiple instances
for a given file as well not call initialize or other API methods after shutdown was started.
@chimp1984 chimp1984 changed the title Add additional guards to ensure that the shut down routine is not cal… Improve persistence manager Nov 13, 2020
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@sqrrm sqrrm merged commit c1287ac into bisq-network:release/v1.5.0 Nov 14, 2020
@chimp1984 chimp1984 deleted the improve-persistence-manager branch November 14, 2020 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants