Skip to content

Commit

Permalink
Change log level for GuardDrop error (#8305)
Browse files Browse the repository at this point in the history
The error means that manager exited earlier than `ResidenceGuard` and
it's not unexpected with current deletion implementation. This commit
changes log level to reduse noise.
  • Loading branch information
petuhovskiy authored and problame committed Jul 22, 2024
1 parent 1b508a6 commit fceace8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions safekeeper/src/timeline_guard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
use std::collections::HashSet;

use tracing::{debug, warn};
use tracing::debug;

use crate::timeline_manager::ManagerCtlMessage;

Expand All @@ -23,7 +23,7 @@ impl Drop for ResidenceGuard {
.manager_tx
.send(ManagerCtlMessage::GuardDrop(self.guard_id));
if let Err(e) = res {
warn!("failed to send GuardDrop message: {:?}", e);
debug!("failed to send GuardDrop message: {:?}", e);
}
}
}
Expand Down

0 comments on commit fceace8

Please sign in to comment.