mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-05 14:30:37 +00:00
pageserver: suppress layer download warnings during shutdown
This commit is contained in:
@@ -3336,7 +3336,13 @@ impl Timeline {
|
||||
.await
|
||||
{
|
||||
Ok(result) => result,
|
||||
Err(e) => return Err(PageReconstructError::from(e)),
|
||||
Err(e) => {
|
||||
return Err(if self.cancel.is_cancelled() {
|
||||
PageReconstructError::Cancelled
|
||||
} else {
|
||||
PageReconstructError::Other(e)
|
||||
})
|
||||
}
|
||||
};
|
||||
cont_lsn = lsn_floor;
|
||||
*read_count += 1;
|
||||
|
||||
Reference in New Issue
Block a user