Re: wraparound dangers in snapshot too old

2020-04-01 Thread Andres Freund
Hi, On 2020-03-31 21:53:04 -0700, Andres Freund wrote: > I am trying to change the snapshot too old infrastructure so it > cooperates with my snapshot scalability patch. While trying to > understand the code sufficiently, I think I found a fairly serious > issue: I accidentally sent this email, I

wraparound dangers in snapshot too old

2020-03-31 Thread Andres Freund
Hi, I am trying to change the snapshot too old infrastructure so it cooperates with my snapshot scalability patch. While trying to understand the code sufficiently, I think I found a fairly serious issue: To map the time-based old_snapshot_threshold to an xid that can be used as a cutoff for heap