containerd/core/content
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
..
proxy proxy: break up writes from the remote writer to avoid grpc limits 2025-02-28 11:29:51 -06:00
testsuite proxy: break up writes from the remote writer to avoid grpc limits 2025-02-28 11:29:51 -06:00
adaptor_test.go Move content to core/content 2024-01-17 09:50:32 -08:00
adaptor.go Move filters to pkg/filters 2024-01-17 09:54:54 -08:00
content.go Perform file sync outside of lock on Commit 2024-04-26 05:42:01 -07:00
helpers_test.go copy: remove max number of ErrResets 2024-02-03 10:20:10 +01:00
helpers.go Merge pull request #9657 from azr/azr/ctt-hlp-read-seeker 2024-05-02 15:20:17 +00:00