diff options
author | Alex <alex@adnab.me> | 2024-02-26 17:52:45 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2024-02-26 17:52:45 +0000 |
commit | 911a83ea7d06143c5a9621f88020ab6c0850ba54 (patch) | |
tree | 26caedf5ef22e6b299d1e2921d7ef854d5d132d6 /src/api/s3/copy.rs | |
parent | 17b55205aa666e78b73d93754574aca83a12193a (diff) | |
parent | b76c0c102ee07758ecf8ae4dfeef0a9a095c4136 (diff) | |
download | garage-911a83ea7d06143c5a9621f88020ab6c0850ba54.tar.gz garage-911a83ea7d06143c5a9621f88020ab6c0850ba54.zip |
Merge pull request 'rewrite read_and_put_block as a series of steps with channels' (#734) from refactor-put into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/734
Diffstat (limited to 'src/api/s3/copy.rs')
-rw-r--r-- | src/api/s3/copy.rs | 5 |
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(()) } |