-
Notifications
You must be signed in to change notification settings - Fork 205
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
fix: #1423 zran check fail, because validate_header zran_count > chunk_count #1437
base: master
Are you sure you want to change the base?
fix: #1423 zran check fail, because validate_header zran_count > chunk_count #1437
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1437 +/- ##
===========================================
+ Coverage 46.29% 62.50% +16.20%
===========================================
Files 123 123
Lines 38872 43158 +4286
Branches 38872 43158 +4286
===========================================
+ Hits 17997 26974 +8977
+ Misses 19906 14874 -5032
- Partials 969 1310 +341
|
…count > chunk_count 1. targz-ref jump deduplicate chunk, because zran hasn't duplication 2. targz-ref rebuild filesystem chunk need not map Signed-off-by: 伏鸾 <[email protected]>
b045938
to
9d42cb1
Compare
9d42cb1
to
4a252e4
Compare
https://github.com/dragonflyoss/nydus/actions/runs/6664717172/job/18112957206?pr=1437 |
rafs/src/metadata/direct_v6.rs
Outdated
@@ -1349,7 +1349,7 @@ impl RafsInodeExt for OndiskInodeWrapper { | |||
blob_index, chunk_index | |||
)) | |||
}) | |||
} else if state.is_tarfs() { | |||
} else if state.is_tarfs() || state.meta.has_inlined_chunk_digest() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you help to give more information about the context to trigger this issue?
Signed-off-by: 伏鸾 <[email protected]>
4a252e4
to
77f8df7
Compare
What's the status of this PR? |
Relevant Issue (if applicable)
#1423
Details
Types of changes
What types of changes does your PullRequest introduce? Put an
x
in all the boxes that apply:Checklist
Go over all the following points, and put an
x
in all the boxes that apply.