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-blobs): Remove debugging logs & more cleanup #2690

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

matheus23
Copy link
Contributor

@matheus23 matheus23 commented Sep 2, 2024

Description

More stuff to clean up I came across while trying to debug an issue.
Also, this makes it so that errors from iroh_blobs::get::db::get_blob that happen before the get_conn step get printed.

Breaking Changes

None.

Notes & open questions

I decided to just remove the tracing logs in downloader/progress.rs. They never really helped us surface the bug, they mostly polluted the logs, to be honest.
The only thing they surfaced was that we didn't properly clean up TransferState::progress_id_to_blob when there's an error in iroh_blobs::get::db::get_blob that causes us to not send the DownloadProgress::Done event.

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@matheus23 matheus23 self-assigned this Sep 2, 2024
Copy link

github-actions bot commented Sep 2, 2024

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/2690/docs/iroh/

Last updated: 2024-09-02T16:01:23Z

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

1 participant