John Spray
552088ac16
pageserver: fix spurious error logs in timeline lifecycle ( #9589 )
...
## Problem
The final part of https://github.com/neondatabase/neon/issues/9543 will
be a chaos test that creates/deletes/archives/offloads timelines while
restarting pageservers and migrating tenants. Developing that test
showed up a few places where we log errors during normal shutdown.
## Summary of changes
- UninitializedTimeline's drop should log at info severity: this is a
normal code path when some part of timeline creation encounters a
cancellation `?` path.
- When offloading and finding a `RemoteTimelineClient` in a
non-initialized state, this is not an error and should not be logged as
such.
- The `offload_timeline` function returned an anyhow error, so callers
couldn't gracefully pick out cancellation errors from real errors:
update this to have a structured error type and use it throughout.
2024-10-31 14:44:59 +00:00
..
2024-09-12 23:18:41 +01:00
2024-10-08 14:32:26 -05:00
2024-10-28 19:51:14 +00:00
2024-10-29 11:39:09 +00:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-31 14:44:59 +00:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-09 15:42:22 -05:00
2024-10-11 15:29:54 +02:00
2024-10-08 14:32:26 -05:00
2024-10-29 15:13:06 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-28 18:21:45 -05:00
2024-10-08 14:32:26 -05:00
2024-10-18 12:42:41 +02:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-18 15:07:36 +03:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-31 14:44:59 +00:00
2024-10-08 14:32:26 -05:00
2024-10-09 13:32:13 +01:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-28 19:51:14 +00:00
2024-10-08 14:32:26 -05:00
2024-09-16 16:38:55 +01:00
2024-10-08 14:32:26 -05:00
2024-10-10 17:06:42 +01:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-18 12:42:41 +02:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-09 15:42:22 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-25 15:09:02 +01:00
2024-10-08 14:32:26 -05:00
2024-07-08 07:30:22 -07:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-29 15:44:45 +00:00
2024-10-08 14:32:26 -05:00
2024-10-25 12:50:47 +01:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-18 11:25:45 +01:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-25 14:16:45 +02:00
2024-10-08 14:32:26 -05:00
2024-10-28 11:11:12 +00:00
2024-10-09 15:42:22 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-31 14:44:59 +00:00
2024-10-08 14:32:26 -05:00
2024-10-24 17:12:47 +01:00
2024-10-14 16:50:12 +01:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-16 15:27:46 +01:00
2024-10-08 14:32:26 -05:00
2024-10-30 19:37:09 +01:00
2024-10-18 12:42:41 +02:00
2024-10-30 17:04:57 +01:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-28 17:47:15 -05:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00
2024-10-28 08:47:12 +00:00
2024-10-25 14:13:46 +01:00
2024-10-08 14:32:26 -05:00
2024-10-08 14:32:26 -05:00