aboutsummaryrefslogtreecommitdiff
path: root/src/api/s3/copy.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-02-26 18:34:52 +0100
committerAlex Auvolat <alex@adnab.me>2024-02-26 18:35:11 +0100
commitb76c0c102ee07758ecf8ae4dfeef0a9a095c4136 (patch)
tree0926357ab8255924cbb4c857dd0687c5eadbd223 /src/api/s3/copy.rs
parentbabccd2ad39c0a626d82521b2d4128ec6f194814 (diff)
downloadgarage-b76c0c102ee07758ecf8ae4dfeef0a9a095c4136.tar.gz
garage-b76c0c102ee07758ecf8ae4dfeef0a9a095c4136.zip
[refactor-put] add ordering tag to blocks being sent to storage nodes
Diffstat (limited to 'src/api/s3/copy.rs')
-rw-r--r--src/api/s3/copy.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/api/s3/copy.rs b/src/api/s3/copy.rs
index 7eb1fe60..880ce5f4 100644
--- a/src/api/s3/copy.rs
+++ b/src/api/s3/copy.rs
@@ -387,7 +387,10 @@ pub async fn handle_upload_part_copy(
// we need to insert that data as a new block.
async move {
if must_upload {
- garage2.block_manager.rpc_put_block(final_hash, data).await
+ garage2
+ .block_manager
+ .rpc_put_block(final_hash, data, None)
+ .await
} else {
Ok(())
}