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

fix: remove superfluous userxattr whiteouts #629

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

rchincha
Copy link
Contributor

What type of PR is this?

Which issue does this PR fix:

What does this PR do / Why do we need it:

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?

Does this PR introduce any user-facing change?:


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@rchincha rchincha force-pushed the overlay-fix branch 8 times, most recently from 480d32c to a23be18 Compare June 27, 2024 06:09
@rchincha rchincha force-pushed the overlay-fix branch 2 times, most recently from d29ed6c to 1d2e593 Compare July 19, 2024 17:31
Copy link

codecov bot commented Jul 20, 2024

Codecov Report

Attention: Patch coverage is 0% with 25 lines in your changes missing coverage. Please review.

Project coverage is 13.57%. Comparing base (8fbf329) to head (1d2e593).

Files Patch % Lines
pkg/overlay/pack.go 0.00% 23 Missing ⚠️
pkg/overlay/overlay-dirs.go 0.00% 1 Missing ⚠️
pkg/stacker/build.go 0.00% 1 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (8fbf329) and HEAD (1d2e593). Click for more details.

HEAD has 3 uploads less than BASE
Flag BASE (8fbf329) HEAD (1d2e593)
4 1
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #629       +/-   ##
===========================================
- Coverage   57.39%   13.57%   -43.83%     
===========================================
  Files          65       41       -24     
  Lines        7729     6277     -1452     
===========================================
- Hits         4436      852     -3584     
- Misses       2535     5292     +2757     
+ Partials      758      133      -625     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rchincha rchincha force-pushed the overlay-fix branch 3 times, most recently from 21d2ddc to 4bd914c Compare July 25, 2024 22:18
@rchincha rchincha marked this pull request as ready for review July 25, 2024 22:22
@rchincha rchincha linked an issue Jul 25, 2024 that may be closed by this pull request
@rchincha rchincha force-pushed the overlay-fix branch 4 times, most recently from d3fb761 to a052f8f Compare July 30, 2024 02:49
overlayfs creates whiteout entries whenever a dir is created which is
not ideal. Instead, we inspect all the lower layers and only if a dir
exists, we emit a whiteout entry.

Note that we link against the 'stacker' branch of project-stacker/umoci

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
@rchincha rchincha merged commit adf0a37 into project-stacker:main Jul 31, 2024
9 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.

Bug: Whiteouts ot handled correctly
1 participant