wcy-fdu commented on code in PR #2143:
URL: 
https://github.com/apache/incubator-opendal/pull/2143#discussion_r1178877990


##########
core/src/services/s3/backend.rs:
##########
@@ -986,10 +996,13 @@ impl Accessor for S3Backend {
     }
 
     async fn write(&self, path: &str, args: OpWrite) -> Result<(RpWrite, 
Self::Writer)> {
-        Ok((
-            RpWrite::default(),
-            S3Writer::new(self.core.clone(), path, args),
-        ))
+        let s3_writer = match self.core.write_buffer_size {
+            Some(buffer_size) => {
+                S3Writer::new_with_buffer_size(self.core.clone(), path, args, 
buffer_size)

Review Comment:
   LGTM



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

Reply via email to