Skip to content

Commit

Permalink
wire operator name to more logging places
Browse files Browse the repository at this point in the history
  • Loading branch information
aljoscha committed Jan 4, 2024
1 parent 50ec88a commit 98be36f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/persist-txn/src/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,15 @@ where
let [mut cap]: [_; 1] = capabilities.try_into().expect("one capability per output");
let client = client.await;
let state = TxnsCacheState::new(txns_id, T::minimum(), Some(data_id));
let cache_name = format!(
"{} {:.9} {}/{}",
name,
data_id.to_string(),
worker_idx,
num_workers
);
let mut txns_cache = TxnsCacheTimely {
name: name.clone(),
name: cache_name,
state,
input: txns_input,
buf: Vec::new(),
Expand Down Expand Up @@ -460,7 +467,8 @@ where
}
}
debug!(
"cache correct before {:?} len={} least_ts={:?}",
"{} cache correct before {:?} len={} least_ts={:?}",
self.name,
self.state.progress_exclusive,
self.state.unapplied_batches.len(),
self.state
Expand Down

0 comments on commit 98be36f

Please sign in to comment.