Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
HammadB committed Apr 26, 2024
1 parent 9713f77 commit ba781d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rust/worker/src/execution/orchestration/compact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ use std::sync::Arc;
use std::time::SystemTime;
use std::time::UNIX_EPOCH;
use thiserror::Error;
use tracing::Span;
use uuid::Uuid;

/** The state of the orchestrator.
Expand Down Expand Up @@ -236,7 +237,7 @@ impl CompactOrchestrator {
parition.clone(),
);
let task = wrap(operator, input, self_address.clone());
match self.dispatcher.send(task).await {
match self.dispatcher.send(task, Some(Span::current())).await {
Ok(_) => (),
Err(e) => {
// Log an error and reply to caller
Expand All @@ -257,7 +258,7 @@ impl CompactOrchestrator {
let input = FlushS3Input::new(record_segment_writer, hnsw_segment_writer);

let task = wrap(operator, input, self_address);
match self.dispatcher.send(task).await {
match self.dispatcher.send(task, Some(Span::current())).await {
Ok(_) => (),
Err(e) => {
// Log an error and reply to caller
Expand Down

0 comments on commit ba781d6

Please sign in to comment.