mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #1503] [MERGED] Retry failed may load bad page #2019
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#2019
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/1503
Author: @fly3366
Created: 12/25/2020
Status: ✅ Merged
Merged: 1/4/2021
Merged by: @ggtakec
Base:
master← Head:master📝 Commits (1)
dd52671fix: Add reset offset📊 Changes
3 files changed (+39 additions, -4 deletions)
View changed files
📝
src/curl.cpp(+8 -1)📝
src/curl.h(+4 -1)📝
src/curl_multi.cpp(+27 -2)📄 Description
Relevant Issue (if applicable)
In MultRead, If Any retry failed. And curl return no OK(such like WRITE ERROR eg.), MultiRead may return 0 and fd may load this page.
But this page is bad. if request include 403、5xx、Partical File(Read Timeout?Connection loss), And next retry is not CURLE_OK, The 403 data may insert into part head and be set loaded(I think we need overwrite it but not loaded).
Details
Another issue?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.