We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reproduce commands(by fuzz)
Input { capacity: 95, cache_type: S3Fifo, operations: [ Insert( 0, 0, 0, ), Insert( 33, 33, 143, ), ], }
thread '<unnamed>' panicked at /home/susun/foyer/foyer-memory/src/eviction/s3fifo.rs:223:13: assertion failed: self.is_empty()
The text was updated successfully, but these errors were encountered:
evict may return None even then cache is not empty.
evict
None
https://github.com/MrCroxx/foyer/blob/main/foyer-memory/src/eviction/s3fifo.rs#L141-L182
If the small queue eviction will be skipped.
https://github.com/MrCroxx/foyer/blob/main/foyer-memory/src/eviction/s3fifo.rs#L161
And this line subtracts the wrong charges. 🥹 I'll fix the bugs.
Sorry, something went wrong.
evict may return None even then cache is not empty. https://github.com/MrCroxx/foyer/blob/main/foyer-memory/src/eviction/s3fifo.rs#L141-L182 If the small queue eviction will be skipped. https://github.com/MrCroxx/foyer/blob/main/foyer-memory/src/eviction/s3fifo.rs#L161 And this line subtracts the wrong charges. 🥹 I'll fix the bugs.
#360
MrCroxx
Successfully merging a pull request may close this issue.
Reproduce commands(by fuzz)
The text was updated successfully, but these errors were encountered: