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

Prevent persist at startup, flush at backup #5280

Merged
merged 6 commits into from
Mar 9, 2021

Conversation

chimp1984
Copy link
Contributor

Fixes #5257

Calls flush to disk before doing a backup.

prevent write to disk before it is called.

In case the user started Bisq 2 times, the second process
would have called the flushAllDataToDisk at shutdown and
overwrote data from the running app.
we got a requestPersistence called before initialized
@ripcurlx ripcurlx added this to the v1.6.0 milestone Mar 9, 2021
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

utACK

@ripcurlx ripcurlx merged commit 11964e5 into bisq-network:master Mar 9, 2021
@ghost
Copy link

ghost commented Mar 9, 2021

Late review ACK: Tested this and in the one case where I could forcibly reproduce the issue, this PR fixed it.

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.

Multiple Bisq processes / open-trade-info-lost
2 participants