Diagnostic step 1
Confirm if the standby is blocked waiting for commit-related WAL by inspecting pg_stat_activity and the WAL LSN positions on both servers (pg_current_wal_lsn, replay_lsn). Capture timeline and events around the start and commit of long transactions.