pgsql: Fix assertion failure in snapshot building

2023-07-04 Thread Daniel Gustafsson
Fix assertion failure in snapshot building Clear any potential stale next_phase_at value from the snapshot builder which otherwise may trip an assertion check ensuring that there is no next_phase_at value. This can be reproduced by running 80 concurrent sessions like the below where $c is a loop

pgsql: Fix assertion failure in snapshot building

2023-07-04 Thread Daniel Gustafsson
Fix assertion failure in snapshot building Clear any potential stale next_phase_at value from the snapshot builder which otherwise may trip an assertion check ensuring that there is no next_phase_at value. This can be reproduced by running 80 concurrent sessions like the below where $c is a loop