mirror of
https://github.com/kvcache-ai/AgentENV.git
synced 2026-11-05 01:17:36 +00:00
[PR #434] [CLOSED] fix(snapshot): rebase live disks after compaction #435
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/AgentENV#435
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/AgentENV/pull/434
Author: @Park-Jiyeonn
Created: 10/24/2026
Status: ❌ Closed
Base:
main← Head:fix/live-snapshot-layer-rebase📝 Commits (1)
592fcf3fix(snapshot): rebase live disks after compaction📊 Changes
11 files changed (+618 additions, -22 deletions)
View changed files
📝
docs/src/concepts/snapshots/create.md(+5 -0)📝
src/sandbox/firecracker/overlaybd_snapshot.rs(+89 -6)📝
src/sandbox/firecracker/sandbox.rs(+9 -0)📝
src/sandbox/ublk/device.rs(+12 -1)📝
storage/overlaybd/src/image/image_file.rs(+254 -4)📝
storage/overlaybd/src/lsmt/file/stack.rs(+1 -1)📝
storage/ublk-daemon/src/client.rs(+33 -1)📝
storage/ublk-daemon/src/protocol.rs(+6 -1)📝
storage/ublk-daemon/src/server.rs(+50 -4)📝
storage/ublk-daemon/tests/ublk_daemon_test.rs(+59 -1)📝
tests/integration/snapshot.rs(+100 -3)📄 Description
Why
Snapshots were compacted, but the running disk kept adding layers and could still hit the limit.
Design and behavior changes
Switch the live disk to the compacted layers while keeping its writable upper. Check the layer limit before sealing. Older snapshots stay unchanged.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.