Skip to content

Commit

Permalink
Merge #1462
Browse files Browse the repository at this point in the history
1462: chore(snapshot): add success log for nexus create snapshot r=hrudaya21 a=hrudaya21



Co-authored-by: Hrudaya <[email protected]>
  • Loading branch information
mayastor-bors and hrudaya21 committed Jul 20, 2023
2 parents fbddc4b + 15c02da commit 332b57f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions io-engine/src/grpc/v1/snapshot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ impl SnapshotRpc for SnapshotService {
let args = request.into_inner();

self.serialized(ctx, args.nexus_uuid.clone(), false, async move {
trace!("{:?}", args);
info!("{:?}", args);
let rx = rpc_submit::<_, _, nexus::Error>(async move {
let snapshot = SnapshotParams::new(
Some(args.entity_id.clone()),
Expand All @@ -339,7 +339,7 @@ impl SnapshotRpc for SnapshotService {
.into_iter()
.map(NexusCreateSnapshotReplicaStatus::from)
.collect::<Vec<_>>();

info!("Create Snapshot Success for {nexus:?}, {replicas_done:?}, replicas_skipped: {:?}", res.replicas_skipped);
Ok(NexusCreateSnapshotResponse {
nexus: Some(nexus.into_grpc().await),
snapshot_timestamp: res
Expand Down

0 comments on commit 332b57f

Please sign in to comment.