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

Write Failure Improvements - Do not deviate from local file system when file is unlinked from the same mount #2890

Merged
merged 6 commits into from
Jan 10, 2025

Conversation

vipnydav
Copy link
Member

@vipnydav vipnydav commented Jan 10, 2025

Description

This PR fixes GCSFuse behavior to not throw any error for Sync and Flush of files that have been deleted from same mount.

Link to the issue in case of a bug fix.

Bug Link

Testing details

  1. Manual - Done
  2. Unit tests - NA
  3. Integration tests - Automated

@vipnydav vipnydav added the execute-integration-tests Run only integration tests label Jan 10, 2025
@vipnydav vipnydav requested a review from ashmeenkaur January 10, 2025 09:51
@vipnydav vipnydav requested review from Tulsishah and a team as code owners January 10, 2025 09:51
@kislaykishore kislaykishore requested review from a team, BrennaEpp, tritone and gargnitingoogle and removed request for a team, BrennaEpp and tritone January 10, 2025 09:52
internal/fs/fs.go Outdated Show resolved Hide resolved
internal/fs/fs.go Outdated Show resolved Hide resolved
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.04%. Comparing base (5bc2b8f) to head (da5761c).
Report is 8 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2890      +/-   ##
==========================================
- Coverage   76.14%   76.04%   -0.10%     
==========================================
  Files         118      118              
  Lines       16640    16659      +19     
==========================================
- Hits        12670    12669       -1     
- Misses       3437     3450      +13     
- Partials      533      540       +7     
Flag Coverage Δ
unittests 76.04% <100.00%> (-0.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@vipnydav vipnydav merged commit 0a7d3db into master Jan 10, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execute-integration-tests Run only integration tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants