mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-27 08:29:59 +00:00
add logging to figure test failure
Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
@@ -325,6 +325,17 @@ impl MergeScanExec {
|
||||
"Merge scan stop poll stream, partition: {}, region_id: {}, poll_duration: {:?}, first_consume: {}, do_get_cost: {:?}",
|
||||
partition, region_id, poll_duration, metric.first_consume_time(), do_get_cost
|
||||
);
|
||||
// TODO(discord9): rm this debug log after debugging
|
||||
common_telemetry::debug!(
|
||||
"All regions: {:?}, scan regions with skip partition: {:?}",
|
||||
regions,
|
||||
regions
|
||||
.iter()
|
||||
.skip(partition)
|
||||
.step_by(target_partition)
|
||||
.copied()
|
||||
.collect::<Vec<_>>()
|
||||
);
|
||||
|
||||
// process metrics after all data is drained.
|
||||
if let Some(metrics) = stream.metrics() {
|
||||
|
||||
Reference in New Issue
Block a user