chore(ingester2): Log well-known query error at dbg
When the ingester handles a query for a table/namespace that has been persisted and the data is not in the buffer it logs at error level that the table/namespace could not be found. This is a valid state and an expected error (the data can be queried from object storage), so we can make this less noisy.pull/24376/head
parent
a01abb6f69
commit
882d087dd5
|
@ -187,13 +187,13 @@ where
|
|||
.await
|
||||
{
|
||||
Ok(v) => v,
|
||||
Err(e) => {
|
||||
error!(
|
||||
error=%e,
|
||||
%namespace_id,
|
||||
%table_id,
|
||||
"query error"
|
||||
);
|
||||
Err(e @ QueryError::TableNotFound(_, _) | e @ QueryError::NamespaceNotFound(_)) => {
|
||||
debug!(
|
||||
error=%e,
|
||||
%namespace_id,
|
||||
%table_id,
|
||||
"query error, no buffered data found");
|
||||
|
||||
return Err(e)?;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue