mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #1664] [MERGED] Fixed a bug when the disk capacity was insufficient in RowFlush #2100
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#2100
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/1664
Author: @ggtakec
Created: 5/21/2021
Status: ✅ Merged
Merged: 5/22/2021
Merged by: @gaul
Base:
master← Head:fix_flush_nospc📝 Commits (1)
ebd73b1Fixed a bug when the disk capacity was insufficient in RowFlush📊 Changes
1 file changed (+21 additions, -12 deletions)
View changed files
📝
src/fdcache_entity.cpp(+21 -12)📄 Description
Relevant Issue (if applicable)
n/a
Details
I found a bug in the FdEntity::RowFlush method and fixed it.
It was forgot to start multipart upload in the process when it detected that the disk space was insufficient.
The current test was unable to detect this bug because it had to detect out of disk space just when flushing.
The test case for this will be difficult, though we need to think about it in the future.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.