chore: update log & stop requeue snapshot when first trying is fail

This commit is contained in:
nathan 2024-04-03 13:17:22 +08:00
parent c77329ea11
commit 6137b6a9ab
2 changed files with 1 additions and 2 deletions

View File

@ -420,7 +420,6 @@ async fn handle_one_message_payload(
metrics_calculate
.apply_update_failed_count
.fetch_add(1, Ordering::Relaxed);
error!("{} protocol error:{}", object_id, err);
if ack_response.is_none() {
let resp = CollabAck::new(
message_origin.clone(),

View File

@ -289,7 +289,7 @@ impl SnapshotCommandRunner {
Ok(())
},
Err(e) => {
self.queue.write().await.push_item(next_item);
// self.queue.write().await.push_item(next_item);
Err(e)
},
}