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(iroh-sync): sync peers exists only if doc exists #1920

Conversation

divagant-martian
Copy link
Contributor

Description

Removing a replica was done without removing the associated sync peers. Other way around too: useful peers were being registered without checking for the existence of the document.

Notes & open questions

na

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.

@divagant-martian divagant-martian added this pull request to the merge queue Feb 8, 2024
Merged via the queue into n0-computer:main with commit 2835f62 Feb 8, 2024
18 checks passed
fubuloubu pushed a commit to ApeWorX/iroh that referenced this pull request Feb 21, 2024
## Description

Removing a replica was done without removing the associated sync peers.
Other way around too: useful peers were being registered without
checking for the existence of the document.

## Notes & open questions

na

## Change checklist

- [x] Self-review.
- [ ] Documentation updates if relevant.
- [ ] Tests if relevant.

Co-authored-by: Friedel Ziegelmayer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants