pageserver: ignore CollectKeySpaceError::Cancelled during compaction (#10968)

This pops up a few times during deployment. Not sure why it fires
without `self.cancel` being cancelled, but could be e.g. ancestor
timelines or sth.
This commit is contained in:
Erik Grinaker
2025-02-25 15:49:41 +01:00
committed by GitHub
parent f78ac44748
commit 8deeddd4f0

View File

@@ -779,6 +779,7 @@ impl Timeline {
// Suppress errors when cancelled.
Err(_) if self.cancel.is_cancelled() => {}
Err(CompactionError::ShuttingDown) => {}
Err(CompactionError::CollectKeySpaceError(CollectKeySpaceError::Cancelled)) => {}
// Alert on critical errors that indicate data corruption.
Err(