aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2021-11-06 18:31:21 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2021-11-06 18:34:21 +0300
commit8f779a1a3eb6716faf47ef10e7bf0b883b8a1170 (patch)
tree94ab5ef32901cd0b56329a5e4f507724a87bb70d /doc/src
parent3eff168a29ca6d737611e8608504537d4ff18d50 (diff)
downloadpostgresql-8f779a1a3eb6716faf47ef10e7bf0b883b8a1170.tar.gz
postgresql-8f779a1a3eb6716faf47ef10e7bf0b883b8a1170.zip
Reset lastOverflowedXid on standby when needed
Currently, lastOverflowedXid is never reset. It's just adjusted on new transactions known to be overflowed. But if there are no overflowed transactions for a long time, snapshots could be mistakenly marked as suboverflowed due to wraparound. This commit fixes this issue by resetting lastOverflowedXid when needed altogether with KnownAssignedXids. Backpatch to all supported versions. Reported-by: Stan Hu Discussion: https://postgr.es/m/CAMBWrQ%3DFp5UAsU_nATY7EMY7NHczG4-DTDU%3DmCvBQZAQ6wa2xQ%40mail.gmail.com Author: Kyotaro Horiguchi, Alexander Korotkov Reviewed-by: Stan Hu, Simon Riggs, Nikolay Samokhvalov, Andrey Borodin, Dmitry Dolgov
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions