[refactor-put] add ordering tag to blocks being sent to storage nodes

This commit is contained in:
Alex Auvolat
2024-02-26 18:34:52 +01:00
parent babccd2ad3
commit b76c0c102e
3 changed files with 22 additions and 3 deletions
+4 -1
View File
@@ -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(())
}