containerd/core
Jonathan A. Sternberg eaa7ca80dc
proxy: break up writes from the remote writer to avoid grpc limits
The remote content writer proxy already has the capability to break up
large files into multiple writes, but the current API doesn't recognize
when it's about to exceed the limits and attempts to send the data over
grpc in one message instead of breaking it into multiple messages.

This changes the behavior of `Write` to automatically break up the size
of the content based on the max send message size.

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
(cherry picked from commit f25f36c334144d87233e06b0de90522ebd97e144)
2025-02-28 11:29:51 -06:00
..
containers Move containers to core/containers 2024-01-17 09:50:40 -08:00
content proxy: break up writes from the remote writer to avoid grpc limits 2025-02-28 11:29:51 -06:00
diff Update errdefs to 0.3.0 2024-10-18 16:04:54 -07:00
events Update errdefs to 0.3.0 2024-10-18 16:04:54 -07:00
images Avoid potential reallocs by pre-sizing some slices 2024-07-19 13:05:49 -07:00
introspection Update errdefs to 0.3.0 2024-10-18 16:04:54 -07:00
leases Update errdefs to 0.3.0 2024-10-18 16:04:54 -07:00
metadata Add spans to CRI runtime service and related client methods 2024-08-05 02:34:20 +00:00
metrics metrics: Use UnmarshalTo instead of UnmarshalAny 2024-10-12 15:55:27 +08:00
mount core/mount: Only remove dirs if unmount succeeded 2024-09-24 17:45:34 +02:00
remotes resolver/docker: fix confusing "trying next host" log 2024-10-26 14:16:00 +02:00
runtime Prefer runtime options for PluginInfo request 2025-02-27 07:37:01 +00:00
sandbox Update errdefs to 0.3.0 2024-10-18 16:04:54 -07:00
snapshots Update errdefs to 0.3.0 2024-10-18 16:04:54 -07:00
streaming Update errdefs to 0.3.0 2024-10-18 16:04:54 -07:00
transfer core/transfer/local: remove logrus import 2024-06-17 12:37:14 +02:00
unpack Fix the race condition during GC of snapshots when client retries 2024-10-02 22:10:15 +00:00