[PR #764] [MERGED] Remove false multihead warnings #1631

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/764
Author: @orozery
Created: 5/22/2018
Status: Merged
Merged: 5/23/2018
Merged by: @ggtakec

Base: masterHead: remove_false_multihead_warnings


📝 Commits (1)

  • 0bd875e remove false readdir_multi_head warnings

📊 Changes

3 files changed (+10 additions, -3 deletions)

View changed files

📝 src/curl.cpp (+8 -2)
📝 src/curl.h (+1 -0)
📝 src/s3fs.cpp (+1 -1)

📄 Description

Details

I encountered a few false warning messages (when setting dbglevel=warn):

  1. `s3fs.cpp:append_objects_from_xml_ex(2575): contents_xp->nodesetval is empty.
    this happens whenever the XML listing does not contain either or , which is very very common.

  2. curl.cpp:MultiRead(3956): failed a request(404: ... and curl.cpp:MultiPerform(3928): thread failed - rc(-2)
    These warnings appear whenever we get a 404 response on a HEAD request sent as part of readdir_multi_head. This can happen if the object is not yet updated in the bucket listing, or if the object is a CommonPrefix.

This PR removes those false warnings.


🔄 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/764 **Author:** [@orozery](https://github.com/orozery) **Created:** 5/22/2018 **Status:** ✅ Merged **Merged:** 5/23/2018 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `remove_false_multihead_warnings` --- ### 📝 Commits (1) - [`0bd875e`](https://github.com/s3fs-fuse/s3fs-fuse/commit/0bd875eb9e6d1ee690d7207c848e4c2a0758ac69) remove false readdir_multi_head warnings ### 📊 Changes **3 files changed** (+10 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+8 -2) 📝 `src/curl.h` (+1 -0) 📝 `src/s3fs.cpp` (+1 -1) </details> ### 📄 Description ### Details I encountered a few false warning messages (when setting dbglevel=warn): 1. `s3fs.cpp:append_objects_from_xml_ex(2575): contents_xp->nodesetval is empty. this happens whenever the XML listing does not contain either <Contents> or <CommonPrefixes>, which is very very common. 2. `curl.cpp:MultiRead(3956): failed a request(404: ...` and `curl.cpp:MultiPerform(3928): thread failed - rc(-2)` These warnings appear whenever we get a 404 response on a HEAD request sent as part of `readdir_multi_head`. This can happen if the object is not yet updated in the bucket listing, or if the object is a CommonPrefix. This PR removes those false warnings. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:01:25 +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#1631
No description provided.