Skip to content

Update metadata snapshotter to lease on already exists#10187

Merged
mxpv merged 2 commits intocontainerd:mainfrom
dmcgowan:metadata-add-lease-on-prepare
May 8, 2024
Merged

Update metadata snapshotter to lease on already exists#10187
mxpv merged 2 commits intocontainerd:mainfrom
dmcgowan:metadata-add-lease-on-prepare

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

@dmcgowan dmcgowan commented May 7, 2024

Currently the metadata snapshotter is not consistently adding keys to a lease when already exists is returned. When a lease is provided, any already exists errors should add the relevant key to the lease. It is not expected that clients must explicitly lease a key after calling Prepare/Commit.

Currently the metadata snapshotter is not consistently adding keys to a
lease when already exists is returned. When a lease is provided, any
already exists errors should add the relevant key to the lease. It is
not expected that clients must explicitly lease a key after calling
Prepare/Commit.

Signed-off-by: Derek McGowan <[email protected]>
@k8s-ci-robot
Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@dmcgowan dmcgowan added cherry-pick/1.6.x cherry-pick/1.7.x Change to be cherry picked to release/1.7 branch and removed size/M labels May 7, 2024
@dmcgowan dmcgowan marked this pull request as ready for review May 7, 2024 23:55
@estesp estesp added this pull request to the merge queue May 8, 2024
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 8, 2024
@mxpv mxpv added this pull request to the merge queue May 8, 2024
Merged via the queue into containerd:main with commit f690928 May 8, 2024
@thaJeztah thaJeztah added cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch cherry-picked/1.7.x PR commits are cherry-picked into release/1.7 branch and removed cherry-pick/1.6.x cherry-pick/1.7.x Change to be cherry picked to release/1.7 branch labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-picked/1.6.x PR commits are cherry-picked into release/1.6 branch cherry-picked/1.7.x PR commits are cherry-picked into release/1.7 branch size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants