You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Delay recovery mode LOG after reading backup_label and/or checkpoint record
When beginning recovery, a LOG is displayed by the startup process toshow which recovery mode will be used depending on the .signal file(s)set in the data folder, like "standby mode", recovery up to a giventarget type and value, or archive recovery.A different patch is under discussion to simplify the startup code byrequiring the presence of recovery.signal and/or standby.signal when abackup_label file is read. Delaying a bit this LOG ensures that thecorrect recovery mode would be reported, and putting it at this positiondoes not make it lose its value.While on it, this commit adds a few comments documenting a bit more theinitial recovery steps and their dependencies, and fixes an incorrectcomment format. This introduces no behavior changes.Extracted from a larger patch by me.Reviewed-by: David Steele, Bowen ShiDiscussion:https://postgr.es/m/ZArVOMifjzE7f8W7@paquier.xyz