You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "chebbyChefNEQ (via GitHub)" <gi...@apache.org> on 2023/08/31 18:16:18 UTC
[GitHub] [arrow-rs] chebbyChefNEQ opened a new issue, #4758: Support atomic copy semantic in `object_store`
chebbyChefNEQ opened a new issue, #4758:
URL: https://github.com/apache/arrow-rs/issues/4758
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
<!--
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
(This section helps Arrow developers understand the context and *why* for this feature, in addition to the *what*)
-->
In most object stores `copy` operation is atomic, the will no appear partially written.
However, on *nix, `copy` is no atomic and partially written file can appear.
**Describe the solution you'd like**
<!--
A clear and concise description of what you want to happen.
-->
It would be nice if `object_store` had a `atomic_copy` api
**Describe alternatives you've considered**
<!--
A clear and concise description of any alternative solutions or features you've considered.
-->
I have been doing
```rust
store.copy(source, staging_file).await?;
store.rename(staging_file, dest).await?;
```
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] LocalFileSystem Copy is not Atomic [arrow-rs]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #4758:
URL: https://github.com/apache/arrow-rs/issues/4758#issuecomment-2741683686
Migrating from arrow-rs issue [#4758](https://github.com/apache/arrow-rs/issues/4758)
--
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
[GitHub] [arrow-rs] tustvold closed issue #4758: LocalFileSystem Copy is not Atomic
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #4758: LocalFileSystem Copy is not Atomic
URL: https://github.com/apache/arrow-rs/issues/4758
--
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
[GitHub] [arrow-rs] tustvold commented on issue #4758: LocalFileSystem Copy is not Atomic
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4758:
URL: https://github.com/apache/arrow-rs/issues/4758#issuecomment-1701804046
This is actually a bug, ObjectStore operations should be atomic except for where explicitly stated otherwise (append)
--
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
[GitHub] [arrow-rs] tustvold commented on issue #4758: LocalFileSystem Copy is not Atomic
Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #4758:
URL: https://github.com/apache/arrow-rs/issues/4758#issuecomment-1723615968
`label_issue.py` automatically added labels {'object-store'} from #4759
--
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