On Wed, Jun 9, 2021 at 9:12 PM Kyotaro Horiguchi <horikyota....@gmail.com> wrote: > https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=conchuela&dt=2021-06-09%2021%3A12%3A25&stg=recovery-check > > > ==~_~===-=-===~_~== > > pgsql.build/src/test/recovery/tmp_check/log/025_stuck_on_old_timeline_cascade.log > > ==~_~===-=-===~_~== > .... > > 2021-06-09 23:31:10.439 CEST [893820:1] LOG: started streaming WAL from > > primary at 0/2000000 on timeline 1 > > 2021-06-09 23:31:10.439 CEST [893820:2] FATAL: could not receive data from > > WAL stream: ERROR: requested WAL segment 000000010000000000000002 has > > already been removed > > The script 025_stuck_on_olde_timeline.pl (and I) forgets to set > wal_keep_size(segments).
Thanks for the analysis and the patches. I have committed them. -- Robert Haas EDB: http://www.enterprisedb.com