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

Queue static delta superblocks #1600

Closed

Conversation

pwithnall
Copy link
Member

This is a follow-up from #1594 (and is based on it), adding support for queuing downloads of static delta superblocks.

@pwithnall pwithnall self-assigned this May 28, 2018
@pwithnall pwithnall force-pushed the queue-static-delta-superblocks branch 4 times, most recently from d868a61 to a7554a1 Compare May 30, 2018 11:52
@rh-atomic-bot
Copy link

☔ The latest upstream changes (presumably 197644c) made this pull request unmergeable. Please resolve the merge conflicts.

Just like all the other requests made for delta parts and objects by the
pull code, use a queue for delta superblocks. Currently this doesn’t do
any prioritisation or retries after transient failures, but it could do
in future.

This means that delta superblocks are now subject to the parallel
request limit in the fetcher, which was a problem highlighted here:
ostreedev#1453 (comment).

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Use the recently introduced architecture for retrying network requests
on transient failure to do the same for delta superblock requests, now
that they’re queued.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
@jlebon
Copy link
Member

jlebon commented May 30, 2018

Nice, LGTM!
@rh-atomic-bot r+ bedb796

@rh-atomic-bot
Copy link

⚡ Test exempted: pull fully rebased and already tested.

rh-atomic-bot pushed a commit that referenced this pull request May 30, 2018
Use the recently introduced architecture for retrying network requests
on transient failure to do the same for delta superblock requests, now
that they’re queued.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Closes: #1600
Approved by: jlebon
@pwithnall pwithnall deleted the queue-static-delta-superblocks branch July 3, 2019 15:12
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

3 participants