kingsword09 commented on PR #6326: URL: https://github.com/apache/opendal/pull/6326#issuecomment-2994260375
After merging #6327, simply adjusting the `should_append` code as shown below can temporarily resolve the issue, removing the need for an additional `try_exists` check since the append operation inherently includes a verification step. before: https://github.com/apache/opendal/blob/8f277e92cc49cbe5d0595640cdb0902b8d469130/core/src/services/fs/core.rs#L127-L130 after: ```rust let should_append = (op.append() || op.if_not_exists()) && tokio::fs::try_exists(&target_path) .await .map_err(new_std_io_error)?; ``` -- 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]
