bring back special comment on CompactionError::Offload

This commit is contained in:
Christian Schwarz
2025-06-30 14:11:15 +02:00
parent 83b149f43c
commit a4b3e3f9a4

View File

@@ -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.