Skip to content

Commit

Permalink
v20.10.36
Browse files Browse the repository at this point in the history
  • Loading branch information
balena-ci committed May 4, 2023
1 parent cd73840 commit 19a8c64
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
37 changes: 37 additions & 0 deletions .versionbot/CHANGELOG.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
- commits:
- subject: Further improve resilience of image pulls
hash: d864e340bfe050144252db8b0de9c66a3a40fa20
body: |
Previously, we'd time-out a pull operation after unsuccessfully retrying
for about 17 minutes (for details see commit
582487f832c59c2f734a780ab0492833f29002c9). This worked fine in most
situations, but we have seen at least one case of a particularly
unreliable network connection that would not be able to finish a large
pull when operating under this policy.
This commit:
* Completely removes timeouts from image pulls. We'll keep retrying
forever, or until users cancel the pull. (From the perspective of the
REST API, "canceling" mean closing the HTTP connection. This is what
happens when a user Ctrl+C during a pull in the CLI, or, say, we kill
a curl process that was using the REST API to pull image.)
* Still uses exponential back-off, but we now limit the interval between
retries to 5 minutes. The rationale is that some very unreliable
networks may be up only for relatively small time windows. Therefore,
using intervals that are too long would increase the risk of missing
these windows.
* Tries to avoid flooding the log stream with messages about retries.
We'll log every retry attempt up to the 10th. After that, we'll log
retries only once about every 2h. This retry count is reset every time
we successfully download any amount of data.
footer:
Signed-off-by: Leandro Motta Barros <leandro@balena.io>
signed-off-by: Leandro Motta Barros <leandro@balena.io>
Change-type: patch
change-type: patch
author: Leandro Motta Barros
nested: []
version: 20.10.36
title: ""
date: 2023-05-04T10:15:21.705Z
- commits:
- subject: Update libnetwork to fix port binding issue
hash: 56aa6337c29329e6100c24f6775840c47081cd06
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).

# v20.10.36
## (2023-05-04)

* Further improve resilience of image pulls [Leandro Motta Barros]

# v20.10.35
## (2023-04-24)

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.10.35
20.10.36

0 comments on commit 19a8c64

Please sign in to comment.