Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] nydusify: add layer push retry for copy subcommand #1662

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

imeoer
Copy link
Collaborator

@imeoer imeoer commented Jan 24, 2025

Relevant Issue (if applicable)

Add push retry mechanism, enhance the success rate for image copy
when a single layer copy failure.

Details

Please describe the details of PullRequest.

Types of changes

What types of changes does your PullRequest introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation Update (if none of the other choices apply)

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.

@imeoer imeoer requested a review from a team as a code owner January 24, 2025 04:05
@imeoer imeoer requested review from jiangliu, gaius-qi and hsiangkao and removed request for a team January 24, 2025 04:05
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.05%. Comparing base (f60e40a) to head (1f0f4a9).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1662      +/-   ##
==========================================
- Coverage   60.05%   60.05%   -0.01%     
==========================================
  Files         147      147              
  Lines       49624    49624              
  Branches    47078    47078              
==========================================
- Hits        29802    29800       -2     
- Misses      18040    18041       +1     
- Partials     1782     1783       +1     

see 2 files with indirect coverage changes

@imeoer imeoer changed the title nydusify: add layer push retry for copy subcommand [WIP] nydusify: add layer push retry for copy subcommand Jan 24, 2025
@imeoer imeoer force-pushed the nydusify-copy-layer-retry branch from ab83655 to 5db44c3 Compare January 24, 2025 06:57
@imeoer imeoer changed the title [WIP] nydusify: add layer push retry for copy subcommand nydusify: add layer push retry for copy subcommand Jan 24, 2025
Add push retry mechanism, enhance the success rate for image copy
when a single layer copy failure.

Signed-off-by: Yan Song <yansong.ys@antgroup.com>
@imeoer imeoer force-pushed the nydusify-copy-layer-retry branch from 5db44c3 to 1f0f4a9 Compare January 24, 2025 07:06
To fix the retry mechanism of push in chunked.

Signed-off-by: Yan Song <yansong.ys@antgroup.com>
@imeoer imeoer changed the title nydusify: add layer push retry for copy subcommand [WIP] nydusify: add layer push retry for copy subcommand Jan 26, 2025
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