-
Notifications
You must be signed in to change notification settings - Fork 413
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
[PR1] Support to keep ReadDir response in kernel cache #1897
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1897 +/- ##
==========================================
+ Coverage 60.76% 61.28% +0.52%
==========================================
Files 130 130
Lines 12397 12458 +61
==========================================
+ Hits 7533 7635 +102
+ Misses 4526 4480 -46
- Partials 338 343 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Since we are upgrading jacobsa/fuse, so please run the performance tests also.
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.
@raj-prince I've reviewed the full code here and added some comments.
This also needs some integration tests or new configurations added in the existing integration tests. Please add.
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.
Forgot to mark Request changes
earlier.
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.
Added some more changes
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.
Minor comments. I don't mind handling them in a future PR to help this PR along.
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.
LGTM
Description
Added a configuration under FileSystem - kernel-dir-cache-ttl-secs
Supported cli flag --kernel-dir-cache-ttl-secs, whose value will take precedence over config.
With this support list response as part of
ls
command will be saved in the kernel and invalidated based on the kernel-dir-cache-ttl-secs.Kernel doesn't keep list response partially, either complete response or none.
Link to the issue in case of a bug fix.
NA
Testing details