rclone/rclone

Add support for conditional writes to `rclone serve s3`

Open

#8,566 建立於 2025年5月23日

在 GitHub 查看
 (3 留言) (0 反應) (0 負責人)Go (57,185 star) (5,090 fork)batch import
dependenciesenhancementhelp wantedserve s3

描述

rclone serve s3 currently does not seem to have support for conditional writes that AWS added a while ago. Conditional writes allow doing a CAS(Compare-and-Swap) Operation using headers during writes, which allows doing optimistic locking for writes.

What is your current rclone version (output from rclone version)?

v1.68.2

What problem are you are trying to solve?

I'd like to use rclone as a (singleton) proxy for applications that need atomic writes like litestream.

How do you think rclone should be changed to solve that?

Rclone serve s3 should add support for the compare-and-swap operation to be able to do writes with optimistic locking.

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

貢獻者指南