Repository navigation
fix(k8s): hold the copy source until the destination ends - #3712
Conversation
… ended The end of the source's stdout loses the data that still waits on the path to a slower destination. The source now runs cat after tar, and a named pipe joins the stdout of the destination to the stdin of the source.
|
Evidence for the change. Temporary pods ran on the control-plane node (source) and on the worker node with the most free disk (destination), kubectl 1.37.1, k3s 1.37.2. The pods are deleted. The copies ran through the real Live measure of the new form:
Failure cases, each with the new form. Each copy failed (exit code that is not 0), no temporary directory stayed on the workstation, and the retry of the command (empty A hold that closes the stdout of the source ( fail-to-pass ( Full A cut-off with SIGKILL (the timeout of |
🤖 I have created a release *beep* *boop* --- ## [0.64.0](v0.63.2...v0.64.0) (2026-11-06) ### Features * **roadmap:** let the step guard allow a recorded test removal ([#3715](#3715)) ([f025406](f025406)) * **roadmap:** require the eval replay for a stage check change ([#3716](#3716)) ([76e8301](76e8301)) * **roadmap:** restart a suspended job on a comment of a person ([#3699](#3699)) ([be8d18a](be8d18a)) * **roadmap:** the verifier reads the repository and repairs a plan twice ([#3710](#3710)) ([c1191e2](c1191e2)) * **service:** chart the Service and filter the CLI dashboard by job ([#3704](#3704)) ([fecc6fb](fecc6fb)) ### Bug Fixes * **deps:** upgrade oauthlib to fix GHSA-3jp2-3mrg-2vxc ([#3709](#3709)) ([6a88012](6a88012)), closes [#3705](#3705) * **k8s:** hold the copy source until the destination ends ([#3712](#3712)) ([c7c5556](c7c5556)), closes [#3695](#3695) * **k8s:** the gateway stops using the 16 GiB tier ([#3697](#3697)) ([842effc](842effc)) * **roadmap:** keep angle-bracket text of a code span in refine ([#3711](#3711)) ([396962e](396962e)) * **roadmap:** P1 items pass the planned limit ([#3698](#3698)) ([63589f0](63589f0)), closes [#3692](#3692) * **roadmap:** refine blocks an item with an open dependency ([#3696](#3696)) ([89fbb08](89fbb08)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
The source side of a volume copy now keeps its stdout open until the destination has ended. Before, a destination slower than the source lost the end of the stream (
connection reset by peer, or a short copy), and the move failed at the copy step.The source runs
tar ... && exec cat, and a named pipe joins the stdout of the destination to the stdin of the source. GNU tar ends at the end-of-archive marker, so the destination ends by itself, and a failure on either side still fails the copy. The command still starts one program throughrun_subprocess. The digest comparison and the one retry stay. This unblocks the moves of #2147.Closes #3695
Change:
openspec/changes/archive/2026-11-06-3695-volume-move-copy-end/