Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for appending to files #1035

Open
pawalt opened this issue Sep 25, 2024 · 0 comments
Open

Add support for appending to files #1035

pawalt opened this issue Sep 25, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@pawalt
Copy link

pawalt commented Sep 25, 2024

Tell us more about this new feature.

One common use case for S3 is storing log data. In a traditional disk-based system, you'd open a file in append mode, append data, and close it once you're done. You can pick up the append later on when you have more logs.

With mountpoint (and S3 in general), this is not possible. Because all files must be open with O_TRUNC, appending is impossible. This means that mountpoint doesn't play nicely with logging systems like Tensorboard which only support append-based logging.

Notably, this is not an ask because of efficiency - it's an ask for compatibility with existing libraries. An append implementation that pulled the whole object out of S3 and wrote the whole object back on flush() would be acceptable.

cc @thundergolfer

@pawalt pawalt added the enhancement New feature or request label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant