mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #967] [MERGED] Increase FdEntity reference count when returning #1733
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#1733
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/967
Author: @gaul
Created: 3/5/2019
Status: ✅ Merged
Merged: 3/10/2019
Merged by: @ggtakec
Base:
master← Head:reference-count📝 Commits (1)
f535034Increase FdEntity reference count when returning📊 Changes
4 files changed (+30 additions, -0 deletions)
View changed files
📝
src/fdcache.cpp(+11 -0)📝
src/fdcache.h(+1 -0)📝
src/s3fs.cpp(+3 -0)📝
test/integration-test-main.sh(+15 -0)📄 Description
Previously s3fs had a race condition where one client could delete
FdEntitythat another client was using. Add a simple concurrent testwhich previously failed but now succeeds. Fixes #964.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.