Better fix for "unarchived WAL files get deleted on crash recovery" bug.
Better fix for "unarchived WAL files get deleted on crash recovery" bug.

Revert my earlier fix for the bug that unarchived WAL files get deleted on
crash recovery, commit c9cc7e05c6d82a9781883a016c70d95aa4923122. We create
a .done file for files streamed or restored from archive, so the WAL file
recycling logic used during normal operation works just as well during
archive recovery.

Per Fujii Masao's suggestion.

kmjungersen/PostgresXL,kmjungersen/PostgresXL,arcivanov/postgres-xl,arcivanov/postgres-xl,kmjungersen/PostgresXL,snaga/postgres-xl,arcivanov/postgres-xl,arcivanov/postgres-xl,snaga/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL,postmind-net/postgres-xl,snaga/postgres-xl,arcivanov/postgres-xl,kmjungersen/PostgresXL,postmind-net/postgres-xl,postmind-net/postgres-xl,postmind-net/postgres-xl,arcivanov/postgres-xl,snaga/postgres-xl,postmind-net/postgres-xl