Repository navigation
atelet: Wait for superseded uploads to stop - #2833
Merged
Zoe Zhao (zoez7) merged 1 commit intoOct 21, 2026
Merged
Conversation
Michelle Au (msau42)
force-pushed
the
wait-superseded-uploads
branch
2 times, most recently
from
October 18, 2026 19:36
c0d92bc to
d429c7e
Compare
Michelle Au (msau42)
force-pushed
the
wait-superseded-uploads
branch
from
October 19, 2026 18:31
d429c7e to
18ce4d8
Compare
Michelle Au (msau42)
marked this pull request as draft
October 19, 2026 19:38
Collaborator
Author
|
Moving to draft as it currently depends on #2890 |
2 tasks
Michelle Au (msau42)
force-pushed
the
wait-superseded-uploads
branch
4 times, most recently
from
October 20, 2026 05:00
8093913 to
a7635d9
Compare
Collaborator
Author
|
Depends on #2943 |
When a Checkpoint with an immediate upload, or a PromoteSnapshot, makes a snapshot durable, atelet now cancels any upload of an older snapshot still in progress and waits for it to stop before returning. As during a PromoteSnapshot, no background upload starts while a Checkpoint with an immediate upload runs. Once the control plane learns that a newer snapshot is durable, atelet is no longer uploading an older snapshot in the background, so the control plane can delete its objects. Once the new snapshot is committed, the canceled upload deletes the older snapshot's local copy before the Checkpoint or PromoteSnapshot returns. Only a Run or Restore in progress, which may read any local snapshot, keeps a superseded local copy.
Michelle Au (msau42)
force-pushed
the
wait-superseded-uploads
branch
from
October 20, 2026 17:19
a7635d9 to
472aab6
Compare
Michelle Au (msau42)
marked this pull request as ready for review
October 20, 2026 17:19
Zoe Zhao (zoez7)
approved these changes
Oct 20, 2026
Merged
via the queue into
agent-substrate:main
with commit Oct 21, 2026
341037d
17 of 18 checks passed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When a Checkpoint with an immediate upload, or a PromoteSnapshot, makes
a snapshot durable, atelet now cancels any upload of an older snapshot
still in progress and waits for it to stop before returning. As during
a PromoteSnapshot, no background upload starts while a Checkpoint with
an immediate upload runs.
Once the control plane learns that a newer snapshot is durable, atelet
is no longer uploading an older snapshot in the background, so the
control plane can delete its objects.
Once the new snapshot is committed, the canceled upload deletes the
older snapshot's local copy before the Checkpoint or PromoteSnapshot
returns. Only a Run or Restore in progress, which may read any local
snapshot, keeps a superseded local copy.
Part of #2069 and #2571