Skip to content

Fix stale snapshot removal log message#1537

Merged
spacejam merged 1 commit intospacejam:mainfrom
cuiweixie:fix/stale-snapshot-log-message
Apr 4, 2026
Merged

Fix stale snapshot removal log message#1537
spacejam merged 1 commit intospacejam:mainfrom
cuiweixie:fix/stale-snapshot-log-message

Conversation

@cuiweixie
Copy link
Copy Markdown
Contributor

Summary

Corrects the warning when pruning a stale snapshot file: the message previously printed the same snapshot id twice because both placeholders used {id}. It now reports the removed stale snapshot (snap_id) and the superseding snapshot (id).

Context

Small correctness fix for log output in enumerate_logs_and_snapshot (metadata store).

The warning incorrectly printed the same snapshot id twice; use snap_id
for the removed stale snapshot and id for the superseding snapshot.
Copy link
Copy Markdown
Owner

@spacejam spacejam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@spacejam spacejam merged commit 11fc0dc into spacejam:main Apr 4, 2026
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.

2 participants