Skip to content

Part of #2384: Preserve previous auto-checkpoint - #4549

Merged
ajpotts merged 1 commit into
Bears-R-Us:masterfrom
vasslitvinov:ckpt-preserve-prev
Jun 6, 2025
Merged

ajpotts merged 1 commit into
Bears-R-Us:masterfrom
vasslitvinov:ckpt-preserve-prev

Conversation

@vasslitvinov

@vasslitvinov vasslitvinov commented Jun 4, 2025 •

Copy link
Copy Markdown
Contributor

Add the ability for ak.save_checkpoint() to preserve a checkpoint that is about to be overwritten, by passing to it mode='preserve_previous'.

Switch automatic checkpointing to this mode by default instead of overwrite. Add the server config checkpointMode to control this setting.

While there, touch up ServerDaemon.chpl.

Comment thread src/CheckpointMsg.chpl Resolved
Signed-off-by: Vassily Litvinov <[email protected]>
@ajpotts
ajpotts enabled auto-merge June 6, 2025 19:08
@ajpotts
ajpotts added this pull request to the merge queue Jun 6, 2025
Merged via the queue into Bears-R-Us:master with commit 816ba98 Jun 6, 2025
@vasslitvinov
vasslitvinov deleted the ckpt-preserve-prev branch June 9, 2025 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.

3 participants