mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-31 01:09:23 +00:00
feat:#165 copyobject v1
This commit is contained in:
@@ -10,8 +10,8 @@ use std::fmt::Debug;
|
||||
use std::io::ErrorKind;
|
||||
use tokio::io::DuplexStream;
|
||||
use tokio::io::{AsyncReadExt, AsyncWriteExt};
|
||||
use tracing::info;
|
||||
use tracing::warn;
|
||||
use tracing::{error, info};
|
||||
// use tracing::debug;
|
||||
use uuid::Uuid;
|
||||
|
||||
@@ -263,7 +263,10 @@ impl Erasure {
|
||||
.await
|
||||
{
|
||||
Ok(n) => n,
|
||||
Err(err) => return (bytes_writed, Some(err)),
|
||||
Err(err) => {
|
||||
error!("write_data_blocks err {:?}", &err);
|
||||
return (bytes_writed, Some(err));
|
||||
}
|
||||
};
|
||||
|
||||
bytes_writed += writed_n;
|
||||
|
||||
Reference in New Issue
Block a user