Skip to content

Pause batched background migration when WAL pending to archive is above threshold

Krasimir Angelov requested to merge 357249-bbm-pending-wal-signaling into master

What does this MR do and why?

This builds on top of Pause data migrations upon active autovacuum (!85196 - merged), updates the code so that we can evaluate more than one indicator, and adds new indicator that checks number of WAL segments pending archival.

Related to #357249 (closed).

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Krasimir Angelov

Merge request reports