* chore: reduce router log verbosity (#3805) * fix: lint Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>pull/24376/head
parent
b69dfec25d
commit
7b3767628f
|
@ -4,7 +4,7 @@ use data_types::sequence::Sequence;
|
||||||
use dml::{DmlMeta, DmlOperation, DmlWrite};
|
use dml::{DmlMeta, DmlOperation, DmlWrite};
|
||||||
use hashbrown::{hash_map::Entry, HashMap};
|
use hashbrown::{hash_map::Entry, HashMap};
|
||||||
use mutable_batch::MutableBatch;
|
use mutable_batch::MutableBatch;
|
||||||
use observability_deps::tracing::{error, info, warn};
|
use observability_deps::tracing::{debug, error, warn};
|
||||||
use rskafka::{
|
use rskafka::{
|
||||||
client::producer::aggregator::{self, Aggregator, StatusDeaggregator, TryPush},
|
client::producer::aggregator::{self, Aggregator, StatusDeaggregator, TryPush},
|
||||||
record::Record,
|
record::Record,
|
||||||
|
@ -402,7 +402,7 @@ impl Aggregator for DmlAggregator {
|
||||||
"missing records following flush"
|
"missing records following flush"
|
||||||
);
|
);
|
||||||
|
|
||||||
info!(
|
debug!(
|
||||||
db_name = %self.database_name,
|
db_name = %self.database_name,
|
||||||
sequencer_id = self.sequencer_id,
|
sequencer_id = self.sequencer_id,
|
||||||
records = state.tag_to_record.len(),
|
records = state.tag_to_record.len(),
|
||||||
|
@ -514,7 +514,6 @@ impl StatusDeaggregator for Deaggregator {
|
||||||
"tag {} out of range (database_name: {}, tag_to_record: {:?}, offsets: {:?})",
|
"tag {} out of range (database_name: {}, tag_to_record: {:?}, offsets: {:?})",
|
||||||
tag.0, self.database_name, self.tag_to_record, input
|
tag.0, self.database_name, self.tag_to_record, input
|
||||||
);
|
);
|
||||||
// TODO: Temporary non-fatal assertion to reduce log spam (#3805)
|
|
||||||
return Err("internal aggregator error: invalid tag".into());
|
return Err("internal aggregator error: invalid tag".into());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue