mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2025-12-25 23:49:58 +00:00
chore: suppress list warning (#5280)
chore/suppress-list-warning: ### Update logging level in `intermediate.rs` - Changed logging level from `warn` to `debug` for unexpected directory entries in index creation. - Added `debug` to the `common_telemetry` import to support the logging level change.
This commit is contained in:
@@ -16,7 +16,7 @@ use std::path::PathBuf;
|
|||||||
|
|
||||||
use async_trait::async_trait;
|
use async_trait::async_trait;
|
||||||
use common_error::ext::BoxedError;
|
use common_error::ext::BoxedError;
|
||||||
use common_telemetry::warn;
|
use common_telemetry::{debug, warn};
|
||||||
use futures::{AsyncRead, AsyncWrite};
|
use futures::{AsyncRead, AsyncWrite};
|
||||||
use index::error as index_error;
|
use index::error as index_error;
|
||||||
use index::error::Result as IndexResult;
|
use index::error::Result as IndexResult;
|
||||||
@@ -189,7 +189,8 @@ impl ExternalTempFileProvider for TempFileProvider {
|
|||||||
|
|
||||||
for entry in entries {
|
for entry in entries {
|
||||||
if entry.metadata().is_dir() {
|
if entry.metadata().is_dir() {
|
||||||
warn!("Unexpected entry in index creation dir: {:?}", entry.path());
|
// todo(hl): we can keep this warning once we find a way to filter self in list result.
|
||||||
|
debug!("Unexpected entry in index creation dir: {:?}", entry.path());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user