What is happening
The slot's restart LSN, confirmed flush LSN, wal_status and invalidation reason show what was retained. If the required interval is absent from pg_wal and every archive, the standby or logical consumer needs a new base or logically reconciled starting point; deleting the old state first removes evidence of the gap.