[PR #1265] [MERGED] Fixed a bug of stats cache compression #1887

Closed
opened 2026-03-04 02:02:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1265
Author: @ggtakec
Created: 4/11/2020
Status: Merged
Merged: 4/12/2020
Merged by: @gaul

Base: masterHead: fix_stat_truncate


📝 Commits (1)

  • 5c19a4d Fixed a bug of stats cache compression

📊 Changes

1 file changed (+9 additions, -6 deletions)

View changed files

📝 src/cache.cpp (+9 -6)

📄 Description

Relevant Issue (if applicable)

n/a

Details

There was a bug in the stats cache compression process.
Due to this bug, stats that were not scheduled to be deleted may have been removed from the cache, which may have affected performance.
This bug has been fixed by this PR.

Thanks to 天空 for reporting this bug.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/1265 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 4/11/2020 **Status:** ✅ Merged **Merged:** 4/12/2020 **Merged by:** [@gaul](https://github.com/gaul) **Base:** `master` ← **Head:** `fix_stat_truncate` --- ### 📝 Commits (1) - [`5c19a4d`](https://github.com/s3fs-fuse/s3fs-fuse/commit/5c19a4d13dece0ee3c010d90897fd07ce7360128) Fixed a bug of stats cache compression ### 📊 Changes **1 file changed** (+9 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/cache.cpp` (+9 -6) </details> ### 📄 Description ### Relevant Issue (if applicable) n/a ### Details There was a bug in the stats cache compression process. Due to this bug, stats that were not scheduled to be deleted may have been removed from the cache, which may have affected performance. This bug has been fixed by this PR. Thanks to 天空 for reporting this bug. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:02:39 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1887
No description provided.