Skip to content
Snippets Groups Projects

Rewrite get-file to exit faster when not enough blocks are available

Open DISSOUBRAY Nathan requested to merge timeout_get_file into master

Description

This MR allows to finish get-file with an error as soon as we notice that all peers have answered with their list of blocks but not enough blocks overall are available to make the file.

It also solves a bug where all peers have returned the block data they have but due to an un-droped sender we were still waiting for more answers (which would never arrive)

Closes #6

Edited by DISSOUBRAY Nathan

Merge request reports

Merge request pipeline #5802 passed

Merge request pipeline passed for 961f4476

The target branch master does not exist. Please restore it or use a different target branch.
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading