Skip to content
Snippets Groups Projects
Commit aec4617c authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

gh-1150: speed up relay by avoiding unnecessary xdir_scan().

Move xdir_scan() outside recover_remaining_wals().
In recovery_follow_f, the function invoked in local hot standby
mode or remote recovery, only invoke xdir_scan() if we're at the
end of the current log (or have no log file at all).
parent fa9d2488
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment