Skip to content

Preserve snapshots until retention expiry - #653

Merged
SaladDay merged 1 commit into
mainfrom
preserve-snapshots-until-retention-expiry
Oct 10, 2026
Merged

SaladDay merged 1 commit into
mainfrom
preserve-snapshots-until-retention-expiry

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Capacity pressure could shorten a suspended allocation’s checkpoint retention and discard its memory to admit another Session. Preserve snapshots until the configured retention deadline instead. A full retained pool keeps new requests pending with their original deadline; active-pressure suspension remains available when it can free usable capacity. Natural expiry still requires confirmed resource cleanup before capacity is reused.

Removes the early-retention path and obsolete test branches; updates the owning English and Chinese lifecycle documentation. No cross-node protocol or placement changes.

Validation: 445 deployment, placement, PostgreSQL and lifecycle tests/subtests passed with a real isolated database, with zero skips; server build and relevant vet passed; three translation checks passed. Regression coverage includes ten Sessions sharing three retained slots, repeated lifecycle observation under pressure, unchanged input deadlines and natural expiry cleanup. Independent full-diff review found no remaining issues.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit 4a72318 into main Oct 10, 2026
19 checks passed
@SaladDay
SaladDay deleted the preserve-snapshots-until-retention-expiry branch October 10, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant