mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-07 13:32:57 +00:00
bring back special comment on CompactionError::Offload
This commit is contained in:
@@ -3319,6 +3319,8 @@ impl TenantShard {
|
||||
}
|
||||
match err {
|
||||
CompactionError::ShuttingDown => unreachable!("is_cancel"),
|
||||
// Offload failures don't trip the circuit breaker, since they're cheap to retry and
|
||||
// shouldn't block compaction.
|
||||
CompactionError::Offload(_) => {}
|
||||
CompactionError::CollectKeySpaceError(err) => {
|
||||
// CollectKeySpaceError::Cancelled and PageRead::Cancelled are handled in `err.is_cancel` branch.
|
||||
|
||||
Reference in New Issue
Block a user