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

DontReview Call ls -R from within mount #1928

Conversation

gargnitingoogle
Copy link
Collaborator

This call runs ls -R on mount-directory,
right after returning successful mount to user.
This initiates the ls -R in a separate
goroutine. On completion of this goroutine,
if there is an error, then it is logged
in gcsfuse debug log-file.
The ls -R is simulated with filepath.WalkDir
which recursively visits each sub-directory
and takes count of all files/directories.

Description

Link to the issue in case of a bug fix.

NA

Testing details

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

This call runs `ls -R` on mount-directory,
right after returning successful mount to user.
This initiates the `ls -R` in a separate
goroutine. On completion of this goroutine,
if there is an error, then it is logged
in gcsfuse debug log-file.
The `ls -R` is simulated with filepath.WalkDir
which recursively visits each sub-directory
and takes count of all files/directories.
Copy link

codecov bot commented May 17, 2024

Codecov Report

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

Project coverage is 61.42%. Comparing base (8312967) to head (fa20560).

Files Patch % Lines
main.go 0.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1928      +/-   ##
==========================================
- Coverage   61.44%   61.42%   -0.02%     
==========================================
  Files         129      129              
  Lines       12298    12310      +12     
==========================================
+ Hits         7557     7562       +5     
- Misses       4402     4410       +8     
+ Partials      339      338       -1     
Flag Coverage Δ
unittests 61.42% <0.00%> (-0.02%) ⬇️

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.

@gargnitingoogle
Copy link
Collaborator Author

Closed in favour of #1930 .

@gargnitingoogle gargnitingoogle deleted the gargnitin/listing-during-mount/2-async-right-after-mount/v1 branch May 22, 2024 13:57
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.

None yet

1 participant