anmolanmol1234 commented on code in PR #5987:
URL: https://github.com/apache/hadoop/pull/5987#discussion_r1307692409


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsClient.java:
##########
@@ -751,6 +752,15 @@ public AbfsRestOperation append(final String path, final 
byte[] buffer,
       }
     }
 
+    // Check if the retry is with "Expect: 100-continue" header being present 
in the previous request.

Review Comment:
   If I were to update the User-Agent separately for each append call, it would 
require removing the existing User-Agent header and then updating it with a new 
value. This process can be resource-intensive. On the other hand, if I perform 
this modification only in one specific scenario, it would help minimize the 
overall cost.



-- 
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.

To unsubscribe, e-mail: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to