diff --git a/server/src/handlers/chunk_handler.rs b/server/src/handlers/chunk_handler.rs index f6f244339..c32c119d0 100644 --- a/server/src/handlers/chunk_handler.rs +++ b/server/src/handlers/chunk_handler.rs @@ -379,6 +379,7 @@ pub async fn create_chunk( .clone() .into_iter() .chain(upsert_chunk_metadatas.clone().into_iter()) + .dedup_by(|x, y| x.tracking_id == y.tracking_id) .collect::>(); let mut redis_conn = redis_pool