Skip to content
This repository was archived by the owner on Nov 19, 2026. It is now read-only.

RFC: Warn if we are deleting an incomplete layer - #1145

Merged
vrothberg merged 1 commit into
containers:mainfrom
mtrmac:delete-incomplete-warn
Feb 23, 2022
Merged

vrothberg merged 1 commit into
containers:mainfrom
mtrmac:delete-incomplete-warn

Conversation

@mtrmac

@mtrmac mtrmac commented Feb 21, 2022

Copy link
Copy Markdown
Collaborator

... to help diagnosing later possible broken references to this layer; compare #1136 for situations where that might be relevant.

Note: This will add user-visible warnings even in situations where we are handling incomplete layers correctly. Maybe we should just fix #1136 and the like, and then only log this at a debug level.

@rhatdan

rhatdan commented Feb 22, 2022

Copy link
Copy Markdown
Member

I am fine logging at this level. If this happens commonly we need to know about it.

LGTM

@mtrmac
mtrmac force-pushed the delete-incomplete-warn branch from d6b1a49 to ece0e83 Compare February 22, 2022 13:59
... to help diagnosing later possible broken references
to this layer; compare containers#1136 .

Signed-off-by: Miloslav Trmač <[email protected]>
@mtrmac
mtrmac force-pushed the delete-incomplete-warn branch from ece0e83 to 5654974 Compare February 23, 2022 12:56
@rhatdan

rhatdan commented Feb 23, 2022

Copy link
Copy Markdown
Member

@vrothberg vrothberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@vrothberg
vrothberg merged commit dc58854 into containers:main Feb 23, 2022
@mtrmac
mtrmac deleted the delete-incomplete-warn branch February 23, 2022 13:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash resiliency: deleting incomplete layers doesn’t reliably happen

3 participants