tustvold commented on code in PR #6536:
URL: https://github.com/apache/arrow-rs/pull/6536#discussion_r1797778535
##########
object_store/src/local.rs:
##########
@@ -409,7 +415,23 @@ impl ObjectStore for LocalFileSystem {
_ => Some(Error::UnableToRenameFile { source
}),
},
},
- PutMode::Update(_) => unreachable!(),
+ PutMode::Update(uv) => {
+ let metadata = path.metadata().map_err(|e|
Error::Metadata {
+ source: e.into(),
+ path: path.to_str().unwrap().to_string(),
+ })?;
+ let witness = get_etag(&metadata);
Review Comment:
No, it would need to be an interprocess synchronisation primitive, e.g.
flock. It's massive can of worms that we would only want to approach with a
concrete design written up first
--
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]