pitrou commented on a change in pull request #8941:
URL: https://github.com/apache/arrow/pull/8941#discussion_r545162804



##########
File path: cpp/src/arrow/filesystem/s3fs.cc
##########
@@ -1241,6 +1245,13 @@ class S3FileSystem::Impl {
     return std::string(FromAwsString(builder_.config().region));
   }
 
+  template <typename Error>
+  void SaveBackend(const Aws::Client::AWSError<Error>& error) {
+    if (!backend_ || *backend_ == S3Backend::Other) {

Review comment:
       Not necessarily, but if the backend was already detected, we probably 
don't want to undo the detection if the HTTP header sometimes misses or is 
incorrect.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to