Skip to content

Commit 75aa19a

Browse files
authored
Don't attach is_archived to debug output (#9679)
We are in branches where we know its value already.
1 parent a8d9939 commit 75aa19a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pageserver/src/tenant/timeline/offload.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,12 @@ pub(crate) async fn offload_timeline(
4747
match is_archived {
4848
Some(true) => (),
4949
Some(false) => {
50-
tracing::warn!(?is_archived, "tried offloading a non-archived timeline");
50+
tracing::warn!("tried offloading a non-archived timeline");
5151
return Err(OffloadError::NotArchived);
5252
}
5353
None => {
5454
// This is legal: calls to this function can race with the timeline shutting down
55-
tracing::info!(
56-
?is_archived,
57-
"tried offloading a timeline whose remote storage is not initialized"
58-
);
55+
tracing::info!("tried offloading a timeline whose remote storage is not initialized");
5956
return Err(OffloadError::Cancelled);
6057
}
6158
}

0 commit comments

Comments
 (0)