Skip to content

Create and use a lease in the Compare method to prevent GC#24

Merged
adam-rl merged 1 commit into
mainfrom
adam/lease
Sep 25, 2025
Merged

Create and use a lease in the Compare method to prevent GC#24
adam-rl merged 1 commit into
mainfrom
adam/lease

Conversation

@adam-rl

@adam-rl adam-rl commented Sep 25, 2025

Copy link
Copy Markdown

containerd is not forwarding the lease used by nerdctl. We must set our own, time-expiring lease until it is fixed upstream.

Otherwise our objects get garbage collected before we can make references to them.

We must set our own, time-expiring lease until it is fixed upstream.

Otherwise our objects get garbarge collected before we can make
references to them.
@adam-rl adam-rl changed the title containerd is not forwarding the lease used by nerdctl Create and use a lease in the Compare method to prevent GC Sep 25, 2025
@adam-rl
adam-rl requested a review from gautam-rl September 25, 2025 16:04
@adam-rl
adam-rl merged commit d23f445 into main Sep 25, 2025
5 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.

1 participant