dandi / dandi/s3invsync

Support Scenario where S3 Path is a File and used to correspond to a Directory and still has version of key there

Open
#172 0 comments 0 reactions 0 assignees View on GitHub
needs design decisions
Dominant language
Rust
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Originally formulated in

- https://github.com/dandi/s3invsync/issues/170#issuecomment-2691822753

It seems we encountered "design" issue with our solution: it could indeed be legit that we have some old versions (thus would be with versionId's in the suffixes) for keys under `key/` subfolder, while the most recent version present in the `key` file thus forbidding for the `key/` to exist at all! e.g. smth like

```shell
mkdir -p key; echo content > key/subkey
# snapshot to S3, update inventory
rm -rf key
echo content > key
# snapshot to S3, update inventory
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.