mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-04 04:12:55 +00:00
chore: improve error logging in WAL prune manager (#6993)
Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
@@ -261,12 +261,8 @@ impl WalPruneManager {
|
||||
Err(error::Error::PruneTaskAlreadyRunning { topic, .. }) => {
|
||||
warn!("Prune task for topic {} is already running", topic);
|
||||
}
|
||||
Err(e) => {
|
||||
error!(
|
||||
"Failed to submit prune task for topic {}: {}",
|
||||
topic_name.clone(),
|
||||
e
|
||||
);
|
||||
Err(err) => {
|
||||
error!(err; "Failed to prune remote WAL for topic {}", topic_name.as_str());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user