You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "wjones127 (via GitHub)" <gi...@apache.org> on 2024/02/06 21:02:14 UTC

[PR] docs(object-store): add warning to flush [arrow-rs]

wjones127 opened a new pull request, #5369:
URL: https://github.com/apache/arrow-rs/pull/5369

   # Which issue does this PR close?
   
   Closes #5366.
   
   # Rationale for this change
    
   As explained in the issue, there is a serious footgun in multi-part write that's worth documenting.
   
   # What changes are included in this PR?
   
   Add a warning to the docs for `put_multipart`
   
   # Are there any user-facing changes?
   
   
   This is just a documentation change.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs(object-store): add warning to flush [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on code in PR #5369:
URL: https://github.com/apache/arrow-rs/pull/5369#discussion_r1480558407


##########
object_store/src/lib.rs:
##########
@@ -551,6 +551,15 @@ pub trait ObjectStore: std::fmt::Display + Send + Sync + Debug + 'static {
     /// writer fails or panics, you must call [ObjectStore::abort_multipart]
     /// to clean up partially written data.
     ///
+    /// <div class="warning">
+    /// If there is point where a significant gap in time (> ~30s) can occur between
+    /// successive write calls, it is recommended to await `flush()` first.

Review Comment:
   ```suggestion
       /// It is recommended applications wait for any in-flight requests to complete by calling `flush`, if 
       /// there may be a significant gap in time (> ~30s) before the next write.
   ```



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] docs(object-store): add warning to flush [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold merged PR #5369:
URL: https://github.com/apache/arrow-rs/pull/5369


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org