-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 <[email protected]> | ||
signed-off-by: Leandro Motta Barros <[email protected]> | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20.10.35 | ||
20.10.36 |