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

Fix multiple request preliminary data calls #5205

Conversation

chimp1984
Copy link
Contributor

Fixes #5204

The PR is done in small improvements steps. Feel free to use final version instead of reviewing all commits.

Remove SetupListener implementation from MailboxMessageService.
Remove requestDataManager
Add onNoSeedNodeAvailable method
Call onNoSeedNodeAvailable from P2PService
mailboxMessageService.onBootstrapped(); and onUpdatedDataReceived

mailboxMessageService depends on p2PDataStorage so we make sure the
p2PDataStorage is updated before we update the mailboxMessageService state.
…a is false

We did not do all the calls before (like on p2pDataStorage), so that changes behaviour.
and call onNoSeedNodeAvailable instead.
@ripcurlx ripcurlx added this to the v1.5.7 milestone Feb 19, 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.

ACK - Code looks fine IMO and I tested it on Mainnet re-producing the error and afterwards successfully starting with this fix. Actually I had exactly this issue the other day while having tor connections issue which I mentioned in the #ops channel. Should have investigated into this immediately myself. Thanks for the fix!

@ripcurlx ripcurlx merged commit cc773b8 into bisq-network:master Feb 19, 2021
@chimp1984 chimp1984 deleted the fix-multiple-requestPreliminaryData-calls branch November 18, 2021 00:56
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 call to requestPreliminaryData can cause startup problems
2 participants