summaryrefslogtreecommitdiff
path: root/doc/bug.template
diff options
context:
space:
mode:
authorFujii Masao2020-04-07 15:49:29 +0000
committerFujii Masao2020-05-09 03:11:11 +0000
commit660f1fc40d7a09e9486284d0858168703b9adf11 (patch)
treeea885433e703d66c16386fbce1627a5839b54cf9 /doc/bug.template
parentf8635747ee9c07844819075675b2c5c07a7e016e (diff)
Prevent archive recovery from scanning non-existent WAL files.
Previously when there were multiple timelines listed in the history file of the recovery target timeline, archive recovery searched all of them, starting from the newest timeline to the oldest one, to find the segment to read. That is, archive recovery had to continuously fail scanning the segment until it reached the timeline that the segment belonged to. These scans for non-existent segment could be harmful on the recovery performance especially when archival area was located on the remote storage and each scan could take a long time. To address the issue, this commit changes archive recovery so that it skips scanning the timeline that the segment to read doesn't belong to. Per discussion, back-patch to all supported versions. Author: Kyotaro Horiguchi, tweaked a bit by Fujii Masao Reviewed-by: David Steele, Pavel Suderevsky, Grigory Smolkin Discussion: https://postgr.es/m/[email protected] Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'doc/bug.template')
0 files changed, 0 insertions, 0 deletions