mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-12 08:06:54 +00:00
fix(logging): clarify recovery and metacache warn messages (#3341)
* fix(logging): clarify recovery and metacache warn messages Clarify cached gRPC connection eviction messages so they describe automatic reconnection instead of implying a persistent cluster fault. Retitle metacache resolution logs to remove the misleading decommission_pool prefix and demote routine reconciliation traces to debug while preserving actionable warning paths. * fix(logging): avoid overpromising reconnect success
This commit is contained in:
@@ -109,7 +109,10 @@ pub fn get_global_outbound_tls_generation() -> u64 {
|
||||
pub async fn evict_connection(addr: &str) {
|
||||
let removed = GLOBAL_CONN_MAP.write().await.remove(addr);
|
||||
if removed.is_some() {
|
||||
tracing::warn!("Evicted stale connection from cache: {}", addr);
|
||||
tracing::info!(
|
||||
addr = %addr,
|
||||
"Removed cached gRPC connection so future RPCs will attempt to establish a fresh channel"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user