Skip to content

adaptation: close plugin if initial sync fails.#279

Merged
fuweid merged 1 commit intocontainerd:mainfrom
klihub:fixes/close-on-sync-failure
Mar 14, 2026
Merged

adaptation: close plugin if initial sync fails.#279
fuweid merged 1 commit intocontainerd:mainfrom
klihub:fixes/close-on-sync-failure

Conversation

@klihub
Copy link
Member

@klihub klihub commented Mar 9, 2026

Don't leave a plugin connected but effectively unregistered if initial plugin synchronization fails. Log the fact as an error instead of info and close the plugin.

@klihub klihub requested a review from mikebrow March 9, 2026 20:45
@klihub klihub force-pushed the fixes/close-on-sync-failure branch from b9a0b02 to 665d57a Compare March 9, 2026 20:45
@klihub klihub requested review from chrishenzie and fuweid March 13, 2026 05:48
@klihub klihub force-pushed the fixes/close-on-sync-failure branch from 665d57a to db4a7a3 Compare March 13, 2026 16:50
@klihub
Copy link
Member Author

klihub commented Mar 13, 2026

@mikebrow @chrishenzie @fuweid Guys, could we get this fix in ? It is literally almost a oneliner.

@fuweid
Copy link
Member

fuweid commented Mar 13, 2026

@klihub it looks like CI is not happy

@klihub klihub force-pushed the fixes/close-on-sync-failure branch 3 times, most recently from a4aa6db to 4324bd3 Compare March 13, 2026 19:05
@klihub
Copy link
Member Author

klihub commented Mar 13, 2026

@klihub it looks like CI is not happy

@fuweid Argh, this is now broken in main/HEAD. I have a fix for it in #280, and stacked this PR on top of it.

Copy link
Member

@mikebrow mikebrow left a comment

Choose a reason for hiding this comment

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

LGTM

fuweid
fuweid previously approved these changes Mar 13, 2026
@fuweid fuweid requested review from chrishenzie and removed request for chrishenzie March 13, 2026 21:07
@fuweid fuweid dismissed their stale review March 13, 2026 21:08

need to reapprove

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

@fuweid
Copy link
Member

fuweid commented Mar 13, 2026

Waiting on 1 reapproval from someone other than the last pusher. Reviews from fuweid and mikebrow are stale because they were submitted before the merge base changed.

I can't merge it. = =!

Don't leave a plugin connected but effectively unregistered if
initial plugin synchronization fails. Log the fact as an error
and close the plugin.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
@klihub klihub force-pushed the fixes/close-on-sync-failure branch from 4324bd3 to 370f3d5 Compare March 14, 2026 08:37
@klihub klihub requested review from fuweid and samuelkarp March 14, 2026 08:38
@fuweid fuweid merged commit da6ea0e into containerd:main Mar 14, 2026
16 checks passed
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