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

[AUD-406] Add a try/catch in nodesync around peering with primary node's IPFS #1293

Merged
merged 4 commits into from
Mar 11, 2021

Conversation

dmanjunath
Copy link
Contributor

@dmanjunath dmanjunath commented Mar 11, 2021

Description

In nodesync, if the secondary is not able to peer with the primary content node it errors out of nodesync entirely. We don't want that because we have fallbacks for IPFS. This just adds a try catch to make sure we don't stop the rest of the nodesync process if this does error.

Tests

Ran the system locally + tested sync

@dmanjunath dmanjunath changed the title Dm sync bootstrap try catch Add a try/catch in nodesync around peering with primary node's IPFS Mar 11, 2021
Copy link
Contributor

@SidSethi SidSethi left a comment

Choose a reason for hiding this comment

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

thanks for handling

@dmanjunath dmanjunath merged commit 6590350 into master Mar 11, 2021
@dmanjunath dmanjunath deleted the dm-sync-bootstrap-try-catch branch March 11, 2021 01:30
@SidSethi SidSethi changed the title Add a try/catch in nodesync around peering with primary node's IPFS [AUD-406] Add a try/catch in nodesync around peering with primary node's IPFS Mar 17, 2021
@AudiusProject AudiusProject deleted a comment from linear bot Sep 11, 2023
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.

None yet

2 participants