summaryrefslogtreecommitdiff
path: root/src/tutorial/complex.source
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-03-06 15:57:20 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-03-06 16:10:23 -0300
commit6d30e3a2b6b7ce260b3b8bff5ad44c5b6a924b32 (patch)
tree4b2a461748c282142692e891b225a7be6c27dab1 /src/tutorial/complex.source
parent165fa27fe440137eb724304343035d76d19342c7 (diff)
Refrain from duplicating data in reorderbuffers
If a walsender exits leaving data in reorderbuffers, the next walsender that tries to decode the same transaction would append its decoded data in the same spill files without truncating it first, which effectively duplicate the data. Avoid that by removing any leftover reorderbuffer spill files when a walsender starts. Backpatch to 9.4; this bug has been there from the very beginning of logical decoding. Author: Craig Ringer, revised by me Reviewed by: Álvaro Herrera, Petr Jelínek, Masahiko Sawada
Diffstat (limited to 'src/tutorial/complex.source')
0 files changed, 0 insertions, 0 deletions