-
Notifications
You must be signed in to change notification settings - Fork 281
s3fifo add ghost fifo #21653
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
s3fifo add ghost fifo #21653
Conversation
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Qodo Merge was enabled for this repository. To continue using it, please link your Git account with your Qodo account here. PR Code Suggestions ✨Explore these optional code suggestions:
|
This reverts commit 25554fb.
This reverts commit 25554fb.
revert s3fifo for main branch Approved by: @XuPeng-SH, @reusee, @LeftHandCold, @fengttt, @zhangxu19830126
…ixorigin#21854) revert s3fifo for main branch Approved by: @XuPeng-SH, @reusee, @LeftHandCold, @fengttt, @zhangxu19830126
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue #21654 #21589
What this PR does / why we need it:
PR Type
Enhancement
Description
Introduced a new
ghost
structure for S3FIFO caching.Enhanced
Cache
to integrateghost
for better eviction handling.Added logic to manage
ghost
entries during enqueue and eviction.Implemented a new file
ghost.go
for theghost
structure.Changes walkthrough 📝
fifo.go
Integrate `ghost` structure into S3FIFO cache
pkg/fileservice/fifocache/fifo.go
ghost
field to theCache
structure.ghost
logic into enqueue and eviction processes.ghost
for better evictionhandling.
ghost.go
Implement `ghost` structure for S3FIFO caching
pkg/fileservice/fifocache/ghost.go
ghost
structure for S3FIFO caching.ghost
.ghost
list.