Skip to content

DLE config - replace "standby_mode" to "recovery_target" for promotion

Vitaliy Kukharik requested to merge recovery-target-immediate into master

Description

Currently the parameter "standby_mode:on" specified in "retrieval.spec.physicalSnapshot.options.promotion.recovery"

  • If this parameter is on, the server will not stop recovery when the end of archived WAL is reached, but will keep trying to continue recovery by fetching new WAL segments using restore_command.

I suggest replacing this parameter with "recovery_target: 'immediate'"

  • This parameter specifies that recovery should end as soon as a consistent state is reached, i.e., as early as possible. When restoring from an online backup, this means the point where taking the backup ended.

Related issue

Examples

Checklist

  • MR description has been reviewed
  • MR changes are functionally tested
  • MR does NOT have text changes OR there are text changes and they have been reviewed
  • MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed
  • MR does NOT have UI changes OR there are UI changes and they have been reviewed
Edited by Artyom Kartasov

Merge request reports